Category: Database, Data, Architecture

Instead, what I’m hoping to achieve with this blog post is to help you understand CQRS through some practical examples. I will assume you’re either a beginner or someone who is unfamiliar with this topic, so maybe you get scared whenever you run into these big programming acronyms and concepts.

All of this separation makes it easy for us to find issues and not ruin the rest of the codebase by fiddling with something.

But you can see the difference is that we only send commands or queries as objects to MediatR and it will take care of handling the rest through its pipelines.

The reason why I have decided to do it this way is because of making it simpler to use, making it reusable, and keeping it DRY.

Related Articles