no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Worker
Doing Some Cleanup in a BackgroundService
If you use the Worker Service template in .NET, you may want to do some cleanup when the background service is canceled. In this post, I’ll show you how to do this.
Feb 24, 2025
#
.NET
,
BackgroundService
,
Worker
,
CancellationToken
Killing a Worker Application from a BackgroundService
There are a few ways to kill a host application from a BackgroundService. In this post I’ll show what is probably the most correct way.
Feb 18, 2025
#
C#
,
.NET
,
BackgroundService
,
Worker
Cite
×