Tutorial
8 guides on Tutorial.
Text-to-SQL in .NET: Letting Users Query a Database in Plain English (Safely)
Build a natural-language-to-SQL feature in C# — schema grounding, a read-only execution boundary, statement validation and the failure modes that decide whether it survives production.
Using the Anthropic Claude API in C#
How to call Anthropic's Claude models from C#: authenticate, send a message, stream the response, and use Claude through the provider-agnostic Microsoft.Extensions.AI abstraction.
Build a "Chat with your PDF" App in .NET
Let users ask questions about a PDF and get grounded answers. Build a chat-with-your-documents app in C# using extraction, embeddings, and retrieval-augmented generation.
Using Google Gemini in C# and .NET
How to call Google's Gemini models from C#: get an API key, send a prompt, stream responses, and use Gemini through a provider-agnostic interface in .NET.
How to Use Function Calling with OpenAI in C#
Function calling lets an OpenAI model trigger your C# code. A step-by-step guide to defining functions, letting the model call them, and returning the result — in .NET.
Build an AI Chatbot in Blazor with .NET
A practical guide to building an AI chatbot in Blazor: wire up a chat UI, stream the model's response token-by-token, and keep the conversation in state — all in C#.
Build Your First Tool-Using AI Agent in C#
A step-by-step tutorial: build an AI agent in C# with the Microsoft Agent Framework that calls your own tools, remembers the conversation, and chains multiple tool calls.
How to Call the OpenAI API from C# (2026 Guide)
A step-by-step guide to calling the OpenAI API from C#: install the SDK, send your first chat completion, stream responses, and keep your API key safe in .NET.