![c# - ASP .NET Core background service stops even if idle timeout is 0 and start mode is AlwaysRunning in iis - Stack Overflow c# - ASP .NET Core background service stops even if idle timeout is 0 and start mode is AlwaysRunning in iis - Stack Overflow](https://i.stack.imgur.com/t3i01.jpg)
c# - ASP .NET Core background service stops even if idle timeout is 0 and start mode is AlwaysRunning in iis - Stack Overflow
![PayloadSenderV2 NullReferenceException when stopping a dotnet core IHostedService background service - APM - Discuss the Elastic Stack PayloadSenderV2 NullReferenceException when stopping a dotnet core IHostedService background service - APM - Discuss the Elastic Stack](https://global.discourse-cdn.com/elastic/original/3X/c/6/c6d4ca8b29f263791bbddddf8f15804d81a66e8b.png)
PayloadSenderV2 NullReferenceException when stopping a dotnet core IHostedService background service - APM - Discuss the Elastic Stack
![Asp.Net Core Web App + Background Service + Web Api In Same Project? · Issue #41204 · dotnet/aspnetcore · GitHub Asp.Net Core Web App + Background Service + Web Api In Same Project? · Issue #41204 · dotnet/aspnetcore · GitHub](https://user-images.githubusercontent.com/46409298/163569054-3a31072b-d289-4163-b8e9-3b0f202b7dce.png)
Asp.Net Core Web App + Background Service + Web Api In Same Project? · Issue #41204 · dotnet/aspnetcore · GitHub
GitHub - JakeDixon/background-services-with-asp-net-core: Background Service class example in ASP.NET Core 3.1
![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)
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/class-diagram-custom-ihostedservice.png)