Understanding IHostedService & BackgroundService in .NET 10
IHostedService vs BackgroundService in .NET 10. Side-by-side code, 5 production gotchas, decision matrix, and when to reach for Hangfire instead.
130 articles and counting
IHostedService vs BackgroundService in .NET 10. Side-by-side code, 5 production gotchas, decision matrix, and when to reach for Hangfire instead.
I have shipped 50+ .NET APIs and most did not need a Repository Pattern. My sharp .NET 10 verdict on when to use it, when to skip it, what to use instead.
10 EF Core performance mistakes that ship to production - N+1 queries, missing projections, lazy loading, AsNoTracking, bulk ops - and how to fix each in .NET 10.
Production-grade API key authentication in ASP.NET Core .NET 10. Hashed keys, DB-backed store, AuthenticationHandler, decision matrix, full source repo.
20+ battle-tested .NET 10 tips from a senior developer - async best practices, EF Core optimization, DI patterns, caching, security, and more. Updated for 2026.
Learn how to optimize bulk insert, update, and delete operations in EF Core 10. We benchmark 5 approaches with real numbers and a decision matrix for every scenario.
Learn when and how to clean EF Core 10 migrations. Squash, reset, remove, resolve team conflicts, plus a decision matrix for the right cleanup strategy.
Learn how to prevent data conflicts in ASP.NET Core Web API using optimistic concurrency with EF Core 10. RowVersion tokens, conflict resolution, retry strategies, and a decision matrix.
Comprehensive Docker guide for .NET 10 developers. Containerize .NET apps, multi-stage builds, Docker Compose with PostgreSQL, and SDK-based containerization without a Dockerfile.
.NET 10 generates OpenAPI 3.1 natively via Microsoft.AspNetCore.OpenApi - no Swashbuckle. Compare native OpenAPI vs Scalar vs Swashbuckle vs NSwag with a decision matrix and real config samples.
Build a production-ready .NET 10 Web API with EF Core 10 and PostgreSQL. CRUD operations, DDD, Minimal APIs, Scalar, code-first migrations, and best practices.
Configure one-to-one, one-to-many, and many-to-many relationships in EF Core with Fluent API. Code examples, cascade delete, and best practices.