copilot guideline

This commit is contained in:
tomse
2026-02-01 13:08:34 +01:00
parent 37943ce770
commit f704bc7231

View File

@@ -0,0 +1,22 @@
# 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