Skip to main content

Posts

Showing posts with the label health check middleware c#

Azure AI Search with C#: Build Smart Search (2026)

Learn Azure AI Search with C# — index data, run vector and hybrid queries, and add RAG to your .NET app. Start building intelligent search today. If your application's search box still runs a LIKE '%term%' query against SQL Server, your users are quietly suffering. They type "cheap laptop for uni" and get zero results because your catalogue says "affordable notebook for students." Azure AI Search with C# fixes exactly this problem: it combines classic keyword search, vector embeddings, and semantic reranking into a single managed service that you can drive from .NET with a few dozen lines of code. In this tutorial you'll build a working search index from scratch, run keyword, vector, and hybrid queries, and finish with a Retrieval Augmented Generation (RAG) pattern that grounds an LLM in your own data. This guide targets .NET 9 and the Azure.Search.Documents v11 SDK. Every snippet is runnable. We'll explain why each design choice matter...

ASP.NET Core Health Checks: Complete Guide (2026)

Learn how to implement ASP.NET Core health checks to monitor databases, APIs & services. Step-by-step tutorial with code examples. Start monitoring now! ASP.NET Core Health Checks: Monitor Your Production App Like a Pro Your app is deployed. Users are active. Then at 2 AM, the database silently dies and nobody knows until customers start tweeting. Sound familiar? ASP.NET Core health checks solve this exact problem by giving you real-time visibility into the state of your application and its dependencies รข€” databases, external APIs, message queues, disk storage, and more. In this guide, you'll learn how to implement health checks in ASP.NET Core from scratch, build custom health check logic, integrate with Kubernetes probes, and follow production-tested best practices that keep your systems observable and reliable. What Are Health Checks in ASP.NET Core? Health checks are HTTP endpoints that report whether your application and its dependencies are functioning correct...