writing-csharp-code
Installation
SKILL.md
C# Coding Standards
Goal: Write clean, secure ASP.NET Core code with proper authentication
Hot Reload Development Workflow
The backend runs in watch mode (dotnet watch run). When you edit C# code:
- Save the file - .NET automatically recompiles
- Check the terminal - Look for compilation output in the "Backend: ASP.NET Core API" terminal
- Verify via console logs - New requests will use updated code immediately
VS Code Tasks (use Run Task command or check terminal panel):
Backend: ASP.NET Core API- Runsdotnet watch runwith live recompilation- Logs are visible directly in VS Code terminal
No restart needed - Just edit, save, and test. Watch for compilation errors in the terminal.
Testing changes: Use Playwright browser tools to make requests and check browser console logs, or call endpoints directly.