720 B
720 B
name, description
| name | description |
|---|---|
| nexus-clean-architecture | Clean Architecture & CQRS implementation for .NET 10 |
Clean Architecture Standards
- Folder Hierarchy: Root must contain
/srcand/tests. Group logic by Feature (e.g.,src/Features/Reader/Queries/GetChapterContent). - CQRS Flow:
- UI triggers
IMediator.Send(). - Handler executes logic and returns
FluentResult.Result. - No direct Database/API calls from Razor components.
- UI triggers
- MediatR: Use
LuckyPennySoftware.MediatRfor implementation. - Mapster Integration:
- Centralize mapping configurations.
- No AutoMapper allowed.
- Functional Error Handling:
- Mandatory use of
FluentResult. No exceptions for business logic flow.
- Mandatory use of