© 2026 Hashnode
Every enterprise ASP.NET Core codebase eventually confronts the same problem: you need logging, validation, caching, auditing, or retry logic applied consistently across dozens - sometimes hundreds -

Most conversations about CQRS (Command Query Responsibility Segregation) and event sourcing in the .NET world quickly spiral into complexity. Developers picture dozens of layers, an ocean of boilerplate, and a graveyard of projects that collapsed und...

When trying to build resilient and scalable microservices, I’ve often found myself grappling with the problem of ensuring consistency between in memory domain events and external communication such as messaging or database writes. In early attempts, ...

CQRS ve MediatR kulağa karmaşık geliyor olabilir. Ama aslında doğru yerden bakarsan, gayet okunabilir ve sade bir yapı sunuyor. Bu yazıda hiç veritabanına bulaşmadan, sadece bellekte (in-memory) bir ToDo listesi örneğiyle CQRS + MediatR nasıl kullanı...

As your .NET application grows in complexity, mixing business logic for reads and writes in the same service or controller can lead to confusion, duplication, and tight coupling. That’s where CQRS (Command Query Responsibility Segregation) comes in. ...
