All articles

#aspnet-core

3 articles tagged aspnet-core

Sep 18, 2026.NET

Background Jobs in .NET: BackgroundService, IHostedService, and When You Need Hangfire

Dotnet background jobs compared: BackgroundService, IHostedService, queues and Hangfire — persistence, retries, scaling, and which to choose when.

Advanced5 min read
Sep 1, 2026.NET

Minimal APIs vs Controllers in ASP.NET Core: What I Pick and Why

Minimal API vs controller in ASP.NET Core: performance, filters, validation, testability and team fit — a senior engineer’s practical decision guide.

Intermediate4 min read
Jul 28, 2026.NET

Dependency Injection in .NET: Lifetimes, Captive Dependencies, and Other Traps

Understand .NET DI service lifetimes — singleton, scoped, transient — and avoid captive dependencies, memory leaks and threading bugs in ASP.NET Core.

Advanced5 min read