Prefer health checks that test dependencies deliberately

Health checks should say something useful about readiness without turning every probe into production load.

July 5, 2026 · 2 min · 274 words

Prefer keyset pagination for deep lists

Use seek-based pagination when users move through large ordered result sets.

July 5, 2026 · 2 min · 295 words

Separate prompts from authorization

Do not let prompt instructions decide what data or actions a user is allowed to access.

July 5, 2026 · 2 min · 226 words

Start independent tasks before awaiting them

Create unrelated asynchronous operations first, then await them together.

July 5, 2026 · 2 min · 267 words

Use approval for side effects, not for every tool call

Reserve human approval for actions where a wrong call would actually matter.

July 5, 2026 · 2 min · 236 words

Use file-based C# apps for small repo utilities

Use a single C# file when a repo utility is useful but a full project would be ceremony.

July 5, 2026 · 1 min · 164 words

Use HybridCache when cache stampedes matter

Use HybridCache for expensive shared lookups where many callers can miss at once.

July 5, 2026 · 2 min · 230 words

Use managed identity before connection strings

Prefer Azure-managed identities over long-lived secrets in deployed applications.

July 5, 2026 · 2 min · 292 words

Use OpenTelemetry before you need production debugging

Add traces, metrics, and logs while the system is still easy to reason about.

July 5, 2026 · 2 min · 396 words

Use ProblemDetails as your API error contract

Return one predictable error shape instead of inventing a new JSON format for every failure.

July 5, 2026 · 1 min · 207 words