copilot guideline
This commit is contained in:
22
PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md
Normal file
22
PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md
Normal 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
|
||||
Reference in New Issue
Block a user