![Implementing background tasks in .NET Core 2.x webapps or microservices with IHostedService and the BackgroundService class - Cesar de la Torre 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/2017/11/IHostedServices.png)
Implementing background tasks in .NET Core 2.x webapps or microservices with IHostedService and the BackgroundService class - Cesar de la Torre
![Implement background tasks in microservices with IHostedService and the BackgroundService class | Microsoft Learn Implement background tasks in microservices with IHostedService and the BackgroundService class | Microsoft Learn](https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/media/background-tasks-with-ihostedservice/class-diagram-custom-ihostedservice.png)
Implement background tasks in microservices with IHostedService and the BackgroundService class | Microsoft Learn
![Implement background tasks in microservices with IHostedService and the BackgroundService class | Microsoft Learn Implement background tasks in microservices with IHostedService and the BackgroundService class | Microsoft Learn](https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/media/background-tasks-with-ihostedservice/ihosted-service-webhost-vs-host.png)