22 lines
436 B
Markdown
22 lines
436 B
Markdown
# Project Architecture and Coding Rules
|
|
|
|
## Stack
|
|
- .NET 8
|
|
- ASP.NET Core Web API
|
|
- Entity Framework Core
|
|
|
|
## Architecture Rules
|
|
- Controllers must be thin
|
|
- Business logic lives in Services
|
|
- Data access only via Repositories
|
|
- No static state
|
|
|
|
## Coding Style
|
|
- async/await only
|
|
- No blocking calls
|
|
- Explicit return types
|
|
- XML documentation on public APIs
|
|
|
|
## Error Handling
|
|
- Use domain-specific exceptions
|
|
- Do not throw Exception |