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

A green save test can hide a failed write.

Verify the stored result before approving an Entity Framework Core (EF Core) upgrade.

AI-generated
2026-10-04
Modernization

Same URL. Wrong application.

Test request ownership, generated links and rollback before approving an ASP.NET migration.

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 Entity Framework 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#

A JSON sample can hide a missing required field.

Test missing, null and valid inputs before approving AI-generated C# models.

AI-generated
2026-09-29
Modernization

Choose the first migration slice worth funding

Reject slices that hide shared state or prove too little. Fund one bounded customer workflow and the evidence needed to stop or expand.

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