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:

  1. Save the file - .NET automatically recompiles
  2. Check the terminal - Look for compilation output in the "Backend: ASP.NET Core API" terminal
  3. 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 - Runs dotnet watch run with 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.

Related skills
Installs
11
GitHub Stars
95
First Seen
Feb 22, 2026