Skip to content

Background service management using Hosted Service

Introduction Long running tasks are very common in an API application. Tasks like data synchronization, periodic updates and background processing can be done asynchronously. ASP.NET Core Hosted Service can be used to implement background tasks. Hosted Service was introduced in ASP.NET Core 3.1 and are an excellent way to run background tasks.  They can be run on an ASP.NET Core web application. This is ideal if we need to update something that runs in the background that could affect all…

Read more
Search