Nov 18, 2017
1
0
Implementing background tasks in .NET Core 2.x webapps or microservices with IHostedService and the BackgroundService class
![Cesar De la Torre](https://devblogs.microsoft.com/cesardelatorre/wp-content/uploads/sites/32/2022/05/CESAR_BUILD_2019_SMALL-96x96.jpg)
Background tasks and scheduled jobs are something you might need to implement, eventually, in a microservice based application or in any kind of application. The difference when using a microservices architecture is that you can implement a single microservice process/container for hosting these background tasks so you can scale it down/up as you n...