{
  "id": 17029627,
  "title": "Build RAG in C# with ASP.NET Core and Qdrant",
  "url": "https://urgent.news/2026/10/29/build-rag-in-c-with-asp-net-core-and-qdrant",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-29T08:00:46.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/aiengfoundry/build-rag-in-c-with-aspnet-core-and-qdrant-2m4f"
  },
  "original_language": "en",
  "account": "Build a Retrieval-Augmented Generation (RAG) API in C# using ASP.NET Core, Qdrant, and a local model through Ollama. The pipeline consists of ingestion and answering stages, each with its own components. Ingestion runs once per document and involves uploading, extracting text, chunking, embedding, and upserting into Qdrant with document metadata. Answering runs on every question, embedding the query, searching Qdrant, and streaming the answer with citations. The project uses .NET 10 SDK, Docker for Qdrant, and Ollama with two models. The pipeline depends on two interfaces, IEmbeddingService and IChatService, allowing flexibility with different AI SDKs.",
  "summary": "# Build RAG in C# with ASP.NET Core and Qdrant Meta Description: Build RAG in C# with ASP.NET Core, Qdrant and Ollama: chunk by page and heading, filter by access, stream cited answers, and measure the results. Suggested URL Slug: build-rag-csharp-aspnet-core-qdrant Primary Keyword: RAG in C# Secondary Keywords: RAG with ASP.NET Core, Qdrant C#, Qdrant .NET, Ollama RAG C#, retrieval-augmented…",
  "key_points": [
    "Build RAG API in C# using ASP.NET Core, Qdrant, and Ollama",
    "Answering stage embeds query, searches Qdrant, and streams answer with citations"
  ],
  "editors_take": "Modularizing the embedding and chat services allows developers to swap AI providers easily, making the RAG architecture adaptable to various evolving machine learning ecosystems within the .NET framework.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}