Jan 2 · 3 min read · We have built the Domain (Part 2), the Database Infra (Part 3), and the Hashnode Adapter (Part 4). Right now, they are isolated islands. The Domain generates events, but no one listens. The Hashnode Adapter works, but no one calls it. In Part 5, we w...
Join discussionJan 2 · 3 min read · In the previous parts of this series, we built a robust Domain (The Rules) and a solid Infrastructure (The Tools). Now, we need to wire them together. The naive approach is to inject the Repository directly into the API Controller and write logic the...
Join discussionSep 4, 2025 · 6 min read · 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...
Join discussion
Jul 5, 2025 · 4 min read · 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, ...
Join discussion
Jun 27, 2025 · 3 min read · 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ı...
Join discussion
Jun 5, 2025 · 3 min read · 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. ...
Join discussion
May 30, 2025 · 7 min read · Domain events are a powerful way to decouple parts of your system. Instead of tightly coupling your logic, you can publish events and have other parts of your code subscribe to those events. This pattern is especially valuable in Domain-Driven Design...
Join discussion
May 16, 2025 · 7 min read · MediatR is going commercial. Jimmy Bogard recently announced that MediatR will adopt a commercial license model for companies above a certain size. For many teams, this is a trigger to re-evaluate their usage and possibly look for alternatives. And i...
Join discussion
Apr 12, 2025 · 3 min read · It was a busy week for me, and I did get to work on my Apple Side project. I spent some time on my AZ-204 certification, and that will ramp up more and more now that the Chicago Blackhawks are almost done with the regular season. I revisited some old...
Join discussion