Every weekday a single, opinionated rule for senior C#/.NET engineers using Cursor. Here's the full week in one read — canonical posts live on the Agentic Architect blog.

New essays this week

Claude Fable 5.2 for coding: price, effort levels, and when to use it

Fri 27 Nov · AI models

Fable 5.2 and Mythos 5.2 are one model behind two doors. What changed from Fable 5.1, what an agent run actually costs at each effort level, and when it earns its place over Opus 5.5.

Cursor for C# and .NET in 2026: extensions, debugging and Unity

Fri 27 Nov · .NET tooling

Microsoft's C# Dev Kit won't run in Cursor. Which C# extension to install instead, what the netcoredbg debugger can and can't do, a working launch.json, and the Unity setup.

How to stop Cursor forgetting your database schema (and your project rules)

Fri 27 Nov · .NET tooling

Cursor doesn't forget your schema; it never saw it. A committed schema digest, a rule that loads only for data-access code, and a test that fails when the digest goes stale.

3 daily senior rules

Rule 28: Keyed Services Over Factory Switches

Sun 29 Nov

Since .NET 8 you can register several implementations of one interface with AddKeyedSingleton<IStorage, BlobStorage>("blob") and inject the right one with [FromKeyedServices("blob")]. Stop letting the AI generate a factory class with a switch on a string or enum that news up dependencies by hand. Keyed registration keeps lifetimes managed by the container.

→ Permalink on the blog

Rule 27: TypedResults in Minimal APIs

Sat 28 Nov

Return TypedResults.Ok(dto) and declare union return types like Results<Ok<OrderDto>, NotFound> instead of the untyped Results helpers. The compiler checks every branch, OpenAPI metadata is inferred without extra Produces calls, and handlers become unit-testable without an HTTP pipeline. Cursor defaults to IResult everywhere; make the typed form the house style.

→ Permalink on the blog

Rule 26: ProblemDetails for Every Error

Fri 27 Nov

Call AddProblemDetails() and UseExceptionHandler() so unhandled exceptions and bare status codes come back as RFC 9457 application/problem+json instead of HTML or empty bodies. Endpoints return TypedResults.Problem or TypedResults.ValidationProblem, never a hand-rolled error object. Cursor invents a new error shape per controller; one rule gives every client a single format to parse.

→ Permalink on the blog

Try one rule before you trust the whole kit

The free arch-core-lite.mdc is one drop-in Cursor rule that ends the morning re-explanation ritual. Install in 60 seconds, see whether Cursor actually remembers your DI lifetimes, and decide for yourself whether the full kit is worth £9.00.

Canonical home for everything in this digest: https://agentic-architect.dev/blog/.