Semantic Kernel for .NET
March 15, 2026 ยท View on GitHub
Use this reference when the target project is written in C# or another .NET language.
Authoritative sources
- Repository: https://github.com/microsoft/semantic-kernel/tree/main/dotnet
- Samples: https://github.com/microsoft/semantic-kernel/tree/main/dotnet/samples
.NET-specific guidance
- Use
async/awaitpatterns consistently for kernel operations. - Follow .NET best practices with strong typing and explicit interfaces.
- Keep service registration, configuration, and authentication aligned with standard .NET hosting patterns.
- Check the latest .NET samples before introducing new APIs, plugins, or orchestration patterns.