DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

A Developer's Guide to CQRS Using .NET Core and MediatR

5 years ago dzone.com
A Developer's Guide to CQRS Using .NET Core and MediatR

Summary: This is a summary of an article originally published by the source. Read the full original article here →

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.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com