AI in C# using the Microsoft Agent Framework

Learn Chat, Tool Calling, Structured Output and RAG

Learn Chat, Tool Calling, Structured Output and RAG

Overview

Learn how to get started with AI in C#, Go from zero to First Prompt (Hello World), Learn the details of Chat to Completions, Learn how Tool Calling works (using own Tools or MCPs), Learn what Structured Output is, Get an Introduction into RAG (Retrieval Augmented Generation)

C# Developers curious about how they can leverage AI

You need to be proficient in C#, Have Visual Studio or Similar Installed

Hi, and welcome to the course 'AI in C# using the Microsoft Agent Framework.'

My name is Rasmus, and I will be taking you through how you can use AI in your C# Apps using Microsoft's Agent Framework...


The content will revolve around what I call the 4 main concepts of AI that will lay a solid foundation for working with AI

Those 4 concepts are:


1. Chat (General Q&A Capabilities)
Either as a real chat or behind the scenes


2. Tools Calling (Ability to call User-code)
Live interaction with other systems for data queries and commands


3. Structured Output (More structured responses)
Get AI responses back in JSON format instead of messages


4. Retrival Augmented Generation (RAG)

Give your own data to AI by turning Text into Search Vectors


---


In order to follow along in the course, I expect you to be proficient in C#, meaning I will teach you the AI parts, but will assume you know the C# language fully.


You will also need an IDE like Visual Studio or similar (I will be using VS2026)


Finally, you will need access to a Large Language Model... If you do not have that already, don't worry, I will show you how to get such access...

In the course, I will demo OpenAI and Azure OpenAI


Let's get started!

Rasmus Wulff Jensen

Hi, my name is Rasmus Wulff Jensen, and I'm a C# and AI Fan (without the hype). I've been in the .NET space since 2003, following all trends in development, and have lately been all in on AI development using Microsoft Agent Framework.

Looking forward to being part of your learning journey...

Free Enroll