Repository Pattern in .NET 10 - Do You Really Need It?
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.
Showing 37-48 of 152 articles
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.
A complete, junior-friendly guide to Clean Architecture in .NET 10. Build a movie API across Domain, Application, Infrastructure, and API layers with EF Core and Aspire.
Production-grade rate limiting in ASP.NET Core .NET 10. All 4 algorithms, partitioning, Redis backplane, OnRejected with Retry-After, multi-tenant tiers, and a real decision matrix.
10 ASP.NET Core anti-patterns that break production in .NET 10 - async void, sync-over-async, fat controllers, runtime-reflection mappers in AOT, and the 2026 ones.
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.
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.
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.
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.
Tracking vs. no-tracking queries in EF Core 10 - benchmarks, memory analysis, AsNoTrackingWithIdentityResolution, and when to use each in ASP.NET Core Web APIs.
Seed initial data in EF Core 10 with HasData, UseSeeding, and Program.cs. Includes decision matrix, FK seeding, environment strategies, and pitfalls.
When and how to use multiple DbContext in EF Core 10. Multi-database setup, schema separation, migrations, transactions, and modular monolith patterns.