Initial commit: NexusArchitect Professional Workstation Overhaul
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: nexus-clean-architecture
|
||||
description: Clean Architecture & CQRS implementation for .NET 10
|
||||
---
|
||||
# Clean Architecture Standards
|
||||
|
||||
- **Folder Hierarchy:** Root must contain `/src` and `/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.
|
||||
- **MediatR:** Use `LuckyPennySoftware.MediatR` for implementation.
|
||||
- **Mapster Integration:**
|
||||
- Centralize mapping configurations.
|
||||
- No AutoMapper allowed.
|
||||
- **Functional Error Handling:**
|
||||
- Mandatory use of `FluentResult`. No exceptions for business logic flow.
|
||||
Reference in New Issue
Block a user