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...
Learn how to use Azure OpenAI in C# with practical code examples. Integrate GPT-4o into your .NET app with streaming, function calling, and best practices. Azure OpenAI C# Tutorial — Build AI-Powered .NET Applications with GPT-4o If you want to add AI capabilities to your .NET application, Azure OpenAI with C# is the most production-ready path available today. Unlike calling the OpenAI API directly, Azure OpenAI gives you enterprise-grade security, regional data residency, private networking, and the same powerful models — including GPT-4o — running inside your own Azure subscription. In this tutorial, you will learn how to integrate GPT-4o into a C# application from scratch. We will cover setup, basic chat completions, streaming responses, function calling, and the best practices that separate hobby projects from production systems. Every code example is runnable so you can follow along in Visual Studio or VS Code. Prerequisites — What You Need Before Writing Code ...