Blog
Developer guides and tutorials
Practical articles on the formats, protocols, and tools every developer works with. No fluff — just clear explanations with real examples.
Why a Perfectly Valid JSON Body Can Still Return 415 Unsupported Media Type
The JSON body was completely valid. ASP.NET Core still rejected it with 415 Unsupported Media Type — before the controller action ever ran. Here is exactly why, plus a separate System.Text.Json gotcha that looks similar but isn't.
The Regex That Worked in Production But Caused 100% CPU Usage Under Load
A template validator regex caused 90-second CPU spikes under specific user input. The cause was catastrophic backtracking from nested quantifiers, and the fix involved Regex timeouts and RegexOptions.NonBacktracking.
The appsettings.json Bug That Takes Down .NET Apps in Production (And How to Catch It Before Deploy)
A JWT audience key existed in appsettings.Development.json but never made it into Production. The app deployed cleanly and broke every login on the first real request. Here is the bug, the fix, and the diff tool that catches it before deploy.
How We Reduced Our API Response Payload by 40% by Auditing Our JSON Output
An EF Core product listing endpoint was returning 340KB instead of 9KB. Formatting the JSON response revealed navigation properties, circular references, and shadow properties being serialized unnecessarily.