HE
HeidiSteen/azure-search-dotnet-samples
Azure Search .NET sample code
C# samples for Azure AI Search fundamentals
This repository contains C# code samples used in Azure AI Search "Day One" quickstarts and tutorials. Unless noted otherwise, all samples run on the shared (free) pricing tier of an Azure AI Search service.
In this repository
| Sample | Quickstart or tutorial | Description |
|---|---|---|
| quickstart | Quickstart: Full-text search | Learn the fundamental tasks of working with a search index: create, load, and query for full-text search scenarios. This quickstart is a console application. The index is modeled on a subset of the Hotels dataset, widely used in Azure AI Search samples, but reduced to just four hotels for readability and comprehension. |
| quickstart-agentic-retrieval | Quickstart: Agentic retrieval | Sets up a knowledge base in Azure AI Search to integrate LLM reasoning into query planning. We recommend the Basic tier or higher for this quickstart. |
| quickstart-semantic-search | Quickstart: Semantic ranking | Adds semantic ranking to an existing hotels-sample-index and formulates semantic queries. |
| quickstart-vector-search | Quickstart: Vector search | Creates a small hotels index that includes vectorized descriptions, and formulates vector queries. |
| tutorial-ai-enrichment | C# Tutorial: Use skillsets to generate searchable content | Creates an AI enrichment pipeline consisting of an index, indexer, data source, and skillset. The skillset calls Azure AI Services image analysis and OCR, and natural language processing, extract information and structure from heterogeneous blob content, making it searchable in Azure AI Search. |
More resources
-
See Vector samples in Azure AI Search for code samples that call the Azure SDK for .NET.
-
See .NET samples in Azure AI Search for a comprehensive list of all Azure AI Search code samples that run on .NET.
-
See Azure AI Search documentation for product documentation.