78 questions for “Background Services”

Found in 1 field. Select a question to see its full answer.

Information Technology

78 questions in 5 technologies

#QuestionTechnologyTopicLevel
1How do background services interact with health checks to signal their operational status? .NET › Background Services.NETBackground ServicesAdvanced
2How do background services interact with health checks to signal their operational status to an orchestrator like Kubernetes? ASP.NET Core › Background Tasks & Hosted ServicesASP.NET CoreBackground Tasks & Hosted ServicesAdvanced
3How do you register and run multiple independent BackgroundServices within the same application? .NET › Background Services.NETBackground ServicesIntermediate
4How do you safely access scoped services (like a DbContext) from within a BackgroundService, which itself is registered as a singleton? .NET › Background Services.NETBackground ServicesAdvanced
5What is a BackgroundService in ASP.NET Core, and what does it provide out of the box? .NET › Background Services.NETBackground ServicesBeginner
6What is the difference between IHostedService and BackgroundService, and when would you implement IHostedService directly? .NET › Background Services.NETBackground ServicesBeginner
7How do you implement retry logic with exponential backoff for a background service processing potentially-failing external calls? .NET › Background Services.NETBackground ServicesAdvanced
8How does graceful shutdown work for a BackgroundService, and what role does CancellationToken play? .NET › Background Services.NETBackground ServicesIntermediate
9How should exceptions be handled inside a BackgroundService's ExecuteAsync loop to prevent the entire service from crashing silently? .NET › Background Services.NETBackground ServicesIntermediate
10How does a BackgroundService differ from a Worker Service project template, and how do they relate? .NET › Background Services.NETBackground ServicesIntermediate