Tag
dotnet-9
6 articles tagged with “dotnet-9”
C# Generics Mastery: Constraints, Variance, and Generic Math in .NET 9
Type-safe abstractions without overhead — constraints, covariance/contravariance, INumber<T>, and the .NET 9 "allows ref struct" anti-constraint.
LINQ in .NET 9: Deferred Execution, IQueryable, and the New Operators
Practical LINQ for backend engineers — IEnumerable vs IQueryable, the .NET 9 CountBy/AggregateBy/Index additions, and EF Core translation pitfalls.
Async/Await in .NET 9: ConfigureAwaitOptions, Task.WhenEach, and Bounded Concurrency
Modern async patterns for ASP.NET Core — context capture, the .NET 8 ConfigureAwaitOptions enum, .NET 9 Task.WhenEach, and the anti-patterns that cause production incidents.
Dependency Injection in .NET 9: Lifetimes, Keyed Services, and the Scope Pattern
Lifetime selection, keyed services (.NET 8+), the BackgroundService scope pattern, and the four DI anti-patterns that cause production bugs.
CQRS in .NET Without the Cargo Cult: A Practical Guide for 2026
CQRS as a folder discipline, command/query handlers without MediatR, vertical slice architecture, and when eventual consistency is overkill.
Minimal APIs in .NET 9: Typed Results, Route Groups, and Endpoint Filters Done Right
Production-shaped Minimal APIs with typed Results<T>, route groups, endpoint filters, [FromKeyedServices], and the new built-in OpenAPI replacing Swashbuckle.

