From f704bc72312374ec6612eec462d026d2a68d4eff Mon Sep 17 00:00:00 2001 From: tomse <1444539+tomse@users.noreply.github.com> Date: Sun, 1 Feb 2026 13:08:34 +0100 Subject: [PATCH] copilot guideline --- .../PDFWorkflowManager/ProjectGuidelines.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 PDFWorkflowManager/PDFWorkflowManager/ProjectGuidelines.md 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