diff --git a/PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md b/PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md new file mode 100644 index 0000000..cc7f315 --- /dev/null +++ b/PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md @@ -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