Adam·May 31Elegant Global Error Handling Using Middleware In ASP.NETFollow me for one production-ready .NET pattern every week — no fluff, just code you can ship today.A response icon1A response icon1
Adam·May 30Unit Testing CQRS Handlers With Moq, Fluent Assertions, and xUnitCQRS keeps your business logic isolated in small, single-purpose handler classes. That isolation is exactly what makes handlers trivial to…
Adam·May 29How To Track Entity Changes With EF Core | Audit LoggingFollow me for one production-ready .NET pattern every week — no fluff, no toy examples.
Adam·May 28One Trick To Improve EF Core Performance Using Query SplittingFollow me for one practical .NET tip every week — no fluff, just production-ready patterns.
Adam·May 27Handle Duplicate Messages With Idempotent ConsumersYour message broker guarantees at-least-once delivery. That means every consumer you write will eventually process the same message twice…
Adam·May 26EF Core Performance Optimization Challenge | 233x FASTERReal benchmarks, real fixes. Five EF Core mistakes that kill query performance — and the exact changes that made one query go from 4,820 ms…
Adam·May 25How To Add Fault Handling In ASP.NET Core With PollyA minimal, practical guide using CQRS + Clean Architecture + Polly in .NET 8 — with code you can copy into a fresh solution today.
Adam·May 24How To Track Entity Changes With EF Core | Audit LoggingTL;DR: Override SaveChanges in your DbContext to intercept EF Core’s ChangeTracker before every save. Inspect each tracked entity’s state…
Adam·May 23Validation With MediatR and FluentValidation | Clean Architecture in .NET 8Most developers know they should validate input. Few know where to put that logic cleanly.
Adam·May 22CQRS Doesn’t Have To Be Complicated | Clean ArchitectureYou don’t need 15 projects and a binder of UML diagrams to use CQRS.