Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit

Share via

Facebook x.com LinkedIn Email

AI apps for .NET developers

Learn to build AI apps with .NET. Browse sample code, tutorials, quickstarts, conceptual articles, and more.

Get started

Overview

  • Develop .NET apps with AI features
  • Microsoft.Extensions.AI libraries

Get started

  • Connect to and prompt an AI model
  • Build an Azure AI chat app
  • Generate images using Azure AI

Essential concepts

Concept

  • How generative AI and LLMs work
  • Understand tokens
  • Preserve semantic meaning with embeddings
  • Semantic search with vector databases
  • Prompt engineering
  • Evaluation libraries

Common tasks

How-To Guide

  • Authenticate App Service to Azure OpenAI
  • Authenticate App Service to a vector database
  • Use Redis with the Semantic Kernel SDK
  • Use custom and local AI models with the Semantic Kernel SDK
  • Work with content filtering

Tutorials

Tutorial

  • Scale Azure OpenAI with Azure Container Apps
  • .NET enterprise chat sample using RAG
  • Implement RAG using vector search
  • Evaluate a model's response

Training

Tutorial

  • Fundamentals of Azure OpenAI Service
  • Generate conversations Azure OpenAI completions
  • .NET enterprise chat sample using RAG
  • Develop AI agents using Azure OpenAI

API reference

Reference

  • ChatClientBuilder
  • IChatClient
  • IEmbeddingGenerator
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025