<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Asynchronous on Stefan Maron | Business Central &amp; AL Development</title><link>https://stefanmaron.com/tags/asynchronous/</link><description>Recent content in Asynchronous on Stefan Maron | Business Central &amp; AL Development</description><generator>Hugo -- gohugo.io</generator><language/><lastBuildDate>Wed, 15 Jul 2020 09:13:05 +0000</lastBuildDate><atom:link href="https://stefanmaron.com/tags/asynchronous/index.xml" rel="self" type="application/rss+xml"/><item><title>Coding4Performance 4: Task Scheduler</title><link>https://stefanmaron.com/posts/coding4performance-4-task-scheduler/</link><pubDate>Wed, 15 Jul 2020 09:13:05 +0000</pubDate><guid>https://stefanmaron.com/posts/coding4performance-4-task-scheduler/</guid><description>In my last post about Start Session I explained how you can easily run a Codeunit in background and relieve the user session. The downside on this method is, that your background task still runs on the same server instance like the user session does. If you have only a few users and only one server instance you are good to go. But if not, then the Task Scheduler could be of interest for you!</description></item><item><title>Coding4Performance 3: Start Session</title><link>https://stefanmaron.com/posts/coding4performance-3-start-session/</link><pubDate>Sat, 11 Jul 2020 07:48:15 +0000</pubDate><guid>https://stefanmaron.com/posts/coding4performance-3-start-session/</guid><description>As promised, here the first (and easiest) way to run code in background. This blog will be a bit shorter, as Start session is quite straight forward. Note: If you did not read the previous blog about Background tasks in general , maybe you should start there ;)
I created an example scenario for which a background task could be useful. Maybe you want your customers to be correctly set up before anyone is able to post any invoice or shipment for them.</description></item><item><title>Coding4Performance 2: Asynchronous development and background tasks</title><link>https://stefanmaron.com/posts/coding4performance-2-asynchronous-development-and-background-tasks/</link><pubDate>Fri, 10 Jul 2020 07:52:14 +0000</pubDate><guid>https://stefanmaron.com/posts/coding4performance-2-asynchronous-development-and-background-tasks/</guid><description>In this post I will explain the general concept of asynchronous development and background tasks.
So everyone knows how procedural development works. In Business Central it starts with a user which logs in to the web client and starts a user session. The first page which opens is most likely the role center page. Behind the scenes now every part runs some code and loads some data. Typically this happens from top to bottom.</description></item></channel></rss>