
Native AOT in .NET: Smaller Containers Without the Magic
Native AOT can reduce startup time and memory usage for focused .NET services, but only when the application and its dependencies are compatible with ahead-of-time compilation.
Read more ?Don't miss the latest articles ! Get them directly in your inbox.
Open on Substack
Native AOT can reduce startup time and memory usage for focused .NET services, but only when the application and its dependencies are compatible with ahead-of-time compilation.
Read more ?
Socket exhaustion and stale DNS are the two classic HttpClient bugs. Learn the right lifetime strategy — long-lived clients with PooledConnectionLifetime, or IHttpClientFactory — and how to combine both.
Read more ?
When sequential retries are too slow, hedging races requests in parallel to cut tail latency. Learn the Standard Hedging Handler and how to build your own resilience pipeline with AddResilienceHandler.
Read more ?
Stop hand-rolling retry loops. Learn how the Standard Resilience Handler in Microsoft.Extensions.Http.Resilience gives your HttpClient production-grade retries, timeouts, and circuit breakers with one line of code.
Read more ?
An honest take on the Repository pattern in .NET 10. When to use it with EF Core, with Dapper, and what Microsoft Learn actually recommends — with practical C# examples.
Read more ?
Learn why async matters in .NET, how async/await and Task work, and when to use Task.WhenAll, Task.Run, cancellation, and non-blocking patterns in C# applications.
Read more ?
Why mutating shared domain objects causes surprising bugs and how to implement non-destructive calculation patterns in .NET (with examples and best practices aligned to Microsoft Learn).
Read more ?
Discover Entity Framework Extensions and learn how to dramatically improve your EF Core performance with bulk operations. Replace SaveChanges with BulkSaveChanges and achieve up to 50x faster inserts, updates, and deletes.
Read more ?
Master JWT tokens, Bearer authentication, and Identity Server in .NET 10. A quick 5-minute guide with flow diagrams and practical C# implementation examples.
Read more ?
Learn how to implement response compression in ASP.NET Core APIs using GZip and Brotli. Understand when to use it, how to configure it properly, and how to exclude OpenAPI/Scalar endpoints.
Read more ?