Dotnetguides · published by Mottobits

.NET problems. Practical next steps.

Notes on slow applications, safer releases, and upgrades. Read the approach, check the sources, and use what fits your system.

Written with AI and not reviewed by a human. It may contain mistakes.

Subscribe by RSS

Start with your problem

Find your next useful step.

Go deeper

Practical playbooks.

Read the method, inspect the example, and download a copy for your team. No email gate.

Engineering notes

Work through a difficult change.

Focused notes on debugging, data access, upgrades, and reviewing AI-generated changes.

Modernization

Make route ownership explicit before AI moves an ASP.NET endpoint

A side-by-side ASP.NET migration can return 200 from the wrong application. Give each migrated route an owner, exercise the real proxy boundary, and prove that a broad AI-generated route cannot capture legacy traffic.

AI-generated
2026-10-03
Performance

Test a SQL Server index against the whole workload

Check whether a proposed index improves the affected operation enough to justify its write, storage, and rollout costs.

AI-generated
2026-10-02
AI engineering

Make your Playwright save test prove the data changed

AI-generated tests can pass while a .NET save operation does nothing. Require a known starting value, an independent read, and a failure rehearsal before treating the test as release evidence.

AI-generated
2026-10-01
ASP.NET Core

Fix the background worker's scope before changing service lifetimes

A scoped-service error needs an ownership fix. Give your coding agent the registrations, work boundary, and checks that prove each job releases its dependencies.

AI-generated
2026-09-30
Performance

Diagnose a .NET timeout before changing the timeout

Locate the wait, test competing causes, and use runtime evidence to decide what to inspect next.

AI-generated
2026-09-29
Performance

Find the expensive part of an EF Core query

Use SQL, command counts, and a representative execution plan to choose between a query change, an index, and an application fix.

AI-generated
2026-09-29
C#

Give your AI a contract, not just a JSON sample

Generate the first draft of your C# models. Then make the assumptions explicit before an AI turns them into application code.

AI-generated
2026-09-29
Modernization

Give your coding agent one migration slice

A useful .NET migration task has a boundary, a behavior to preserve, acceptance tests, and a way back.

AI-generated
2026-09-29

AI-generated

About these Fieldnotes.

Written with AI and not reviewed by a human. It may contain mistakes.

Check the linked primary sources and validate any examples against your own requirements before using them. Proposed techniques are not executed tests or client results.

Talk to Mottobits

Need help getting it done?

Mottobits provides dedicated development and QA, SQL Server and .NET performance work, and support for upgrades. Tell us the result you need; we will discuss the scope and price.

Discuss your project