CDCoding Dropletsincodingdroplets.com·10h ago · 9 min readSynchronous Operations Are Disallowed in ASP.NET Core: Causes and FixesYou upgraded a service, deployed it, and a single endpoint started throwing this: System.InvalidOperationException: Synchronous operations are disallowed. Call ReadAsync or set AllowSynchronousIO to t10
CDCoding Dropletsincodingdroplets.com·1d ago · 11 min readSemantic Caching for LLM Calls in ASP.NET Core: When to Use It and HowEvery AI feature I have shipped eventually hits the same wall. Users ask the same twenty questions in a hundred different phrasings, and each one costs a full round trip to the model. Semantic caching12K
CDCoding Dropletsincodingdroplets.com·2d ago · 9 min readMigrating from Newtonsoft.Json to System.Text.Json in ASP.NET Core: A Step-by-Step GuideFor years the honest advice on how to migrate Newtonsoft.Json to System.Text.Json in ASP.NET Core was "wait". Two features kept teams pinned to AddNewtonsoftJson(): JSON Patch and polymorphic serializ10
CDCoding Dropletsincodingdroplets.com·3d ago · 10 min readToken-Based Rate Limiting for AI Endpoints in ASP.NET Core: A Real-World WalkthroughThe first AI endpoint I put behind a rate limiter was protected by a policy that allowed 60 requests per minute per user. It felt responsible. Two weeks later one customer generated a bill larger than00
CDCoding Dropletsincodingdroplets.com·4d ago · 9 min readCustomizing 401 Responses with JwtBearerEvents in ASP.NET CoreEvery error your ASP.NET Core API returns is a documented, structured Problem Details payload. Except one. When a bearer token is missing, expired, or malformed, the client gets a 401 with an empty bo00