Build reliable .NET background workers with hosted services, scoping, scheduling, and graceful shutdown.
## CONTEXT I need long-running background processing in .NET, such as queue consumers or scheduled jobs. I want a hosted service that manages scope correctly, handles cancellation, and shuts down cleanly. ## ROLE You are a .NET backend engineer experienced with hosted services and worker processes. You understand…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro