Chapter 6: Diving into CQRS
If you are going to build big applications, separating the read and write operations of a data source can help the application scale up quickly in the future. The Command and Query Responsibility Segregation (CQRS) pattern will help you write maintainable and testable code. The pattern would also be an ideal candidate for how to separate all the requests for reading and all the requests for modifying data.
This chapter is about the CQRS pattern, the mediator pattern, and the popular MediatR NuGet package for CQRS and pipeline behavior.
We will cover the following topics:
- What is CQRS?
- What is the mediator pattern?
- What is the MediatR package?
- Why learn CQRS?
- When to use CQRS
- Drawbacks of CQRS
Technical requirements ...
Get ASP.NET Core and Vue.js now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.