Topic

Testing & Maintainability

Preserve contracts through code changes and use tests and review to catch regressions.

Testing & Maintainability20 min

Modernize an ASP.NET API Without Rewriting Its Wire Contract

A rewrite from MVC and Newtonsoft.Json to minimal APIs and System.Text.Json can answer 200 and still change the bytes every client sees. Pin the wire, adapt it, measure the gain.

Testing & Maintainability23 min

Who Owns the Design When AI Is on the Team? Review, Records, Repair

An AI-written cleanup patch passes four checks and deletes pinned files; the rule lived in an old chat. What review must check, where decisions live and how to assign ownership.

Testing & Maintainability17 min

Refactor a Pricing Function Without Rewriting Its Rules

Pin a small C# pricing function with hand-calculated and property-based tests, refactor it in IDE steps that stay green, make a one-line change and prove the tests catch real mistakes.