Sample .Net 6 CQRS Implementation with Onion Architecture, DDD and Outbox Pattern.
Command Project. Creates event and saves it to Outbox table.
- Onion Architecture
- DDD
- Outbox Pattern
- EntityFramework Core
- MediatR
- Postgresql
Reads CommandProject's Outbox table and sends messages to broker.
- MassTransit
- Dapper
Consumes messages and updates Redis database.
- MassTransit
- Redis
Query Project.
- MediatR
- Redis