
Sign up to save your podcasts
Or


Today we’re releasing Version 2 of Generative AI for Beginners .NET, our free, open-source course for building AI-powered .NET applications.
If you want to understand and build generative AI applications, from core concepts to production-ready patterns, this is your starting point!
This new version restructured the entire curriculum into five focused lessons with full explanations, rebuilt everything on .NET 10, and moved to Microsoft.Extensions.AI as the primary abstraction.
If you went through v1, this is a different course.
The biggest change in Version 2 is the course itself! We threw out the old lesson structure and rewrote everything from scratch into five lessons, each with complete explanations, working samples, and a clear learning arc.
Version 2 goes deeper. Each lesson explains the concepts fully, walks through the code, and connects to the next lesson. You come out of it understanding not just how to call an API, but why the patterns work the way they do and how to apply them in real applications.
The samples now follow modern .NET patterns such as dependency injection, middleware pipelines, and file-based apps introduced in .NET 10.
We also updated all model references to gpt-5-mini across the documentation and samples, reflecting the latest available models.
Version 1 used Semantic Kernel as the primary way to talk to AI models. Version 2 uses Microsoft.Extensions.AI (MEAI).
The reasoning was straightforward. MEAI ships as part of the .NET 10 ecosystem, follows the same patterns as ILogger and IConfiguration, and works across providers without locking you into a specific orchestration framework.
In practice, this meant rewriting every core sample to use IChatClient and the MEAI middleware pipeline. The code got simpler. A basic chat completion that previously needed SK kernel setup, plugins, and connector configuration now looks like any other .NET service registration.
For example, the classic Space Invaders sample to learn how to integrate classic apps with AI!
We moved 11 pure Semantic Kernel samples to samples/deprecated/. They still build, they still work, and you can still reference them. But they’re no longer part of the main learning path.
For projects that mixed both SK and MEAI (like BasicChat-05AIFoundryModels and BasicChat-11FoundryClaude), we removed the SK dependency entirely and kept them running on pure MEAI.
We archived these samples because a beginner course should teach the foundational layer first, and in .NET 10, that layer is MEAI, and for agentic use, Microsoft Agent Framework is the premier toolkit to deploy and create agents.
Lesson 4 now covers the Microsoft Agent Framework, and we’ve documented it in the course materials! The five Microsoft Agent Framework web application samples continue to cover multi-agent orchestration, PDF ingestion, and chat middleware patterns.
All eight language translations (Chinese, French, Portuguese, Spanish, German, Japanese, Korean, Traditional Chinese) have been updated to reflect the new lesson structure, deprecation changes, and .NET 10 migration.
Join the fun at Generative AI for Beginners – .NET!
Pick a provider (Microsoft Foundry or Ollama for local development), open Lesson 1, and work through the five lessons in order. Each one builds on the last.
If you run into issues or have suggestions, open an issue. If you want to contribute, PRs are welcome.
The post Generative AI for Beginners .NET: Version 2 on .NET 10 appeared first on .NET Blog.
By Today we’re releasing Version 2 of Generative AI for Beginners .NET, our free, open-source course for building AI-powered .NET applications.
If you want to understand and build generative AI applications, from core concepts to production-ready patterns, this is your starting point!
This new version restructured the entire curriculum into five focused lessons with full explanations, rebuilt everything on .NET 10, and moved to Microsoft.Extensions.AI as the primary abstraction.
If you went through v1, this is a different course.
The biggest change in Version 2 is the course itself! We threw out the old lesson structure and rewrote everything from scratch into five lessons, each with complete explanations, working samples, and a clear learning arc.
Version 2 goes deeper. Each lesson explains the concepts fully, walks through the code, and connects to the next lesson. You come out of it understanding not just how to call an API, but why the patterns work the way they do and how to apply them in real applications.
The samples now follow modern .NET patterns such as dependency injection, middleware pipelines, and file-based apps introduced in .NET 10.
We also updated all model references to gpt-5-mini across the documentation and samples, reflecting the latest available models.
Version 1 used Semantic Kernel as the primary way to talk to AI models. Version 2 uses Microsoft.Extensions.AI (MEAI).
The reasoning was straightforward. MEAI ships as part of the .NET 10 ecosystem, follows the same patterns as ILogger and IConfiguration, and works across providers without locking you into a specific orchestration framework.
In practice, this meant rewriting every core sample to use IChatClient and the MEAI middleware pipeline. The code got simpler. A basic chat completion that previously needed SK kernel setup, plugins, and connector configuration now looks like any other .NET service registration.
For example, the classic Space Invaders sample to learn how to integrate classic apps with AI!
We moved 11 pure Semantic Kernel samples to samples/deprecated/. They still build, they still work, and you can still reference them. But they’re no longer part of the main learning path.
For projects that mixed both SK and MEAI (like BasicChat-05AIFoundryModels and BasicChat-11FoundryClaude), we removed the SK dependency entirely and kept them running on pure MEAI.
We archived these samples because a beginner course should teach the foundational layer first, and in .NET 10, that layer is MEAI, and for agentic use, Microsoft Agent Framework is the premier toolkit to deploy and create agents.
Lesson 4 now covers the Microsoft Agent Framework, and we’ve documented it in the course materials! The five Microsoft Agent Framework web application samples continue to cover multi-agent orchestration, PDF ingestion, and chat middleware patterns.
All eight language translations (Chinese, French, Portuguese, Spanish, German, Japanese, Korean, Traditional Chinese) have been updated to reflect the new lesson structure, deprecation changes, and .NET 10 migration.
Join the fun at Generative AI for Beginners – .NET!
Pick a provider (Microsoft Foundry or Ollama for local development), open Lesson 1, and work through the five lessons in order. Each one builds on the last.
If you run into issues or have suggestions, open an issue. If you want to contribute, PRs are welcome.
The post Generative AI for Beginners .NET: Version 2 on .NET 10 appeared first on .NET Blog.