ASP NET Core
6 posts on ASP NET Core.

Ollama from C# in 2026: IChatClient with OllamaSharp, Without the Deprecated Package
Which NuGet packages to install to call a local Ollama model from .NET 10, how to register IChatClient in a minimal API, stream tokens over SSE and get typed JSON back. Measured on two small models, plus what the deprecated package still does.
11 min read

Backend Engineering: The Five Boundaries I Got Wrong
Every backend bug I have shipped turned out to be the same bug wearing a different costume — a boundary I assumed was enforced when nothing was enforcing it. Five real ones, with the code, the numbers, and the tell that would have caught each of them earlier.
9 min read

My ASP.NET Core App Called Its Own API Over HTTP
MobiShare's Razor Pages, SignalR hub, and MQTT handler all call the app's own Web API over loopback HTTP instead of in-process — forcing a cookie-forwarding handler and an AsyncLocal hack. An accidental distributed monolith, and what it cost.
6 min read

The API Had No Lock: Finding an ASP.NET Core Auth Hole in My Own App
app.UseAuthentication() was never called and no API controller had [Authorize]. The whole JSON API was open to anyone. Here's how I found it, and what it actually took to fix it without breaking the app.
6 min read

Reservation State Can't Live in a UI Countdown
Mobishare's vehicle-reservation timer was a singleton service holding one connection ID for the entire app, with expiry driven by client-side JavaScript. Here's why that's a concurrency bug, not a UI detail.
5 min read

A Local LLM Chatbot with Tool-Calling and RAG (No Vector Database)
How I wired Ollama into a real ASP.NET Core app with native tool-calling and a hand-rolled cosine-similarity RAG — no vector DB, no cloud API — and the concurrency bug that nearly broke it.
6 min read