CDCoding Dropletsincodingdroplets.com·4h ago · 10 min read7 Common Mistakes Unit Testing ASP.NET Core Controllers (And How to Fix Them)Unit testing ASP.NET Core controllers looks trivial until your first test passes for the wrong reason. You assert that an action returned Ok, the bar goes green, and six months later a refactor that q00
CDCoding Dropletsincodingdroplets.com·1d ago · 11 min readManaging LLM Conversation History in .NET: Root Cause and Fix for Context Window OverflowThe first AI chat endpoint you ship almost always works. You append each user message and each model reply to a List<ChatMessage>, send the whole list on every turn, and the assistant remembers the co00
CDCoding Dropletsincodingdroplets.com·3d ago · 10 min readHow to Evaluate LLM Output in .NET APIs: A Real-World WalkthroughThe demo went perfectly. Your ASP.NET Core support-desk endpoint took a customer question, called an LLM, and returned a clean, helpful answer. Everyone nodded. Two weeks later someone tweaked the sys00
CDCoding Dropletsincodingdroplets.com·4d ago · 12 min readHow to Build a Job Queue in .NET with PostgreSQL SKIP LOCKED: A Real-World WalkthroughEvery .NET team eventually needs to run work outside the request cycle: send the welcome email, generate the invoice PDF, push the webhook, re-index the search document. The default instinct is to rea00
CDCoding Dropletsincodingdroplets.com·5d ago · 11 min readSignalR Falls Back to Long Polling in ASP.NET Core: Causes and FixYour SignalR hub works, messages arrive, and everything looks healthy in development. Then you ship to production behind a reverse proxy, open the browser Network tab, and see it: every message is rid00