CQRS in Practice
There are a lot of misconceptions around the CQRS pattern. This course is an in-depth guideline into every concern or implementation question you've ever had about CQRS.
What you'll learn
There are a lot of misconceptions around the CQRS pattern, especially when it comes to applying it in real-world software projects. In this course, CQRS in Practice, you will learn all about CQRS with event sourcing, database configuration for reads and writes, and more. First, you will learn exactly what CQRS is, the principles behind it, and the benefits it can provide for your project. Next, you will explore the common misconceptions and anti-patterns around CQRS. Finally, you will see a detailed, step-by-step implementation of this pattern in practice. The sample project you'll be working on is close to what you will find in the real world, and you will see each step on the way to CQRS in great detail. By the end of this course, you will have a foundational understanding of the CQRS pattern and how to implement it in your software projects.
Table of contents
- Introduction 1m
- Introducing a First Command 12m
- Commands in CQS vs. Commands in CQRS 3m
- Commands and Queries in CQRS 5m
- Commands and Queries in the Onion Architecture 4m
- Commands vs. DTOs 4m
- Leveraging ASP.NET Core Dependency Injection to Resolve Handlers 5m
- Introducing a Query 7m
- Finishing up the Refactoring 5m
- Recap: Introducing Commands and Queries 4m
- Summary 4m
- Introduction 1m
- New Requirement: Database Retries 3m
- Introducing a Database Retry Decorator 9m
- Decorator Pattern 3m
- Introducing Another Decorator 2m
- Streamlining the Decorator Configuration 7m
- Recap: Streamlining the Decorator Configuration 1m
- Decorators vs. ASP.NET Middleware 5m
- Command and Query Handlers Best Practices 4m
- Summary 3m