EngineeringSenior DeveloperTechnical Sessions

Session 13: CQRS & MediatR Patterns

Premium

Mục tiêu: Implement CQRS pattern với MediatR, pipeline behaviors, và Event Sourcing concepts.


1. CQRS - Command Query Responsibility Segregation

Traditional:
┌──────────┐        ┌──────────┐        ┌──────┐
│ API      │──────→ │ Service  │──────→ │  DB  │
│          │←────── │ (CRUD)   │←────── │      │
└──────────┘        └──────────┘        └──────┘
  Read & Write cùng 1 model, cùng 1 path

CQRS:
┌──────────┐   Command   ┌───────────────┐   ┌──────────┐
│          │────────────→ │ Command       │──→│ Write DB │
Premium

Continue with premium access

Session 13: CQRS & MediatR Patterns is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates