DDD - Onion Architecture Example with C#
Onion architecture is one of the best options to establish clean architecture through Domain-Driven-Design.
This project intend to apply all best practices with Clean Code & Clean Architecture.
This example project is always in progress :)
I´m testing some tools in project:
MediatR for Command Query Responsability Segregation
FluentValidation for separate entities validation - SoC
MassTransit for Domain Events
I followed the separate concept of Raise & Publish (dispatching only when persisted entity and raise when occurred in memory).
If you think that some part of the code not follow some best practice feel free for fork and contribute!