Azure OpenAI .NET Integration

•
31k
•

Integrates Azure OpenAI and OpenAI services into .NET applications using the official SDK for chat, embeddings, images, and audio.

This skill provides comprehensive guidance and boilerplate for integrating Azure OpenAI and OpenAI services into .NET projects. It streamlines the implementation of the full client hierarchy—including Chat, Embeddings, Image, and Audio clients—while prioritizing production-ready security through Microsoft Entra ID authentication. Whether you are building RAG systems with Azure AI Search, generating structured JSON outputs with strict schemas, or implementing high-performance streaming conversations, this skill ensures best practices like exponential backoff and efficient resource management are built directly into your Claude Code workflow.

Key Features

01Advanced RAG implementation patterns via Azure AI Search integration
02Production-ready authentication using Microsoft Entra ID and DefaultAzureCredential
03Pre-configured patterns for streaming responses and multi-turn conversation state
04Strict structured output support using JSON schemas for consistent data parsing
0531,432 GitHub stars
06Comprehensive client support for Chat, Embeddings, DALL-E, and Whisper

Use Cases

01Automating audio transcription and text-to-speech workflows in .NET backends
02Developing RAG-based systems that query internal documents via Azure AI Search
03Building enterprise-grade AI chatbots and virtual assistants with C#