Cursor + .NET — direct answers
Short, scannable pages that answer the specific Cursor problems senior C#/.NET engineers actually hit. Each page links to the long-form essay for the full reasoning.
-
Cursor rules for .NET engineers: .mdc rule types, AGENTS.md and migrating .cursorrules
How Cursor project rules load (Always, globs, description, manual), a rule layout for a layered C#/.NET solution, and LEARNING_LOG persistence.
Read the guide ? -
Cursor suggested a Scoped?Singleton DI bug — how to catch it before merge
The captured-dependency lifetime bug AI assistants ship constantly, why training data is to blame, and the constructor-audit rule that catches it.
Read the fix ? -
Cursor forgets your architecture every session — here's how to stop it
The 15-minute morning ritual senior engineers pay to a forgetful AI — and the directory-scoped persistence pattern that ends it.
Read the fix ? -
Cursor keeps inventing .NET methods that don't exist — here's the seven-word fix
The correction spiral, why it happens, and the circuit-breaker rule that forces grounding before the next suggestion.
Read the fix ? -
Teach Cursor to use
Result<T>instead ofthrowin C#Why your in-chat corrections don't stick, and the one committed rule that teaches the AI your error model across every session.
Read the fix ? -
Stop Cursor forgetting your database schema (and your project rules)
A committed schema digest from
Read the guide →dotnet ef dbcontext script, a rule that loads only for data-access code, and a drift test that keeps it honest. -
Cursor for C# and .NET: extensions, debugging and Unity
Why the C# Dev Kit won't run in Cursor, which C# extension to install instead, a working launch.json, and the Unity setup.
Read the guide →
Looking for the long-form?
The Agentic Architect blog has the full essays plus a daily senior rule for Cursor + .NET, published every weekday.
Try the free sample rule ?