![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
Detecting the user or the system closing .NET Core console application · Issue #7120 · dotnet/runtime · GitHub
![Creating and hosting ASP.NET Core application on Linux — Nothing Third-Party | Learn the basics of the Web and App Development Creating and hosting ASP.NET Core application on Linux — Nothing Third-Party | Learn the basics of the Web and App Development](https://basicsofwebdevelopment.files.wordpress.com/2016/09/screenshot-3022.png)
Creating and hosting ASP.NET Core application on Linux — Nothing Third-Party | Learn the basics of the Web and App Development
![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)