독서리서치레이더투자 프레임워크
로그인 / 회원가입
← 읽기로 돌아가기
뉴스주제 · .NET 11중대2 분 소요DisconfirmAI 편집부

Microsoft Releases .NET 11 and C# 15 with New Type Safety Features and Built-in AI Agent Support

Microsoft launched .NET 11 at .NET Conf 2026, introducing C# 15 Union Types and Closed Hierarchies for better code safety, enabling Native AOT for faster CLI startup, and including built-in MCP server templates to streamline AI agent development.

2026-11-11 16:48 GMT+8

US technology company Microsoft has officially released .NET 11 at the .NET Conf 2026 developer conference. This version defaults to the C# 15 programming language. .NET is Microsoft's cross-platform framework widely used for web, desktop, and mobile applications. The update focuses on enhancing language safety, execution efficiency, and native support for AI agent development.

In terms of language features, C# 15 introduces "Union Types" and "Closed Hierarchies." Union types allow developers to explicitly declare which specific types a value can belong to—for example, a query result might be either "product data" or a "no-product response." The compiler can then check if the code handles all possible cases, reducing errors caused by missed branches. Closed hierarchies restrict class inheritance to within the same assembly, giving the compiler full visibility of subclass structures to further prevent logical gaps.

Regarding execution performance, the .NET 11 SDK now defaults to using Native AOT (Ahead-of-Time compilation) for its Command Line Interface (CLI) startup programs. Common commands like checking versions or viewing help are executed directly as native code, bypassing the traditional managed .NET runtime and significantly reducing startup time. Additionally, the MSBuild server remains active between commands, minimizing repeated initialization overhead during frequent builds and tests.

Addressing the growing trend in AI application development, Microsoft has prioritized AI agent support in the .NET roadmap. The .NET 11 SDK includes built-in templates for MCP (Model Context Protocol) server projects, allowing developers to quickly create tool services callable by AI agents. Blazor frameworks have also added AI interface components supporting streaming conversations and tool execution results, along with tools like .NET Skills to assist AI agents in coding and testing.

로그인 / 회원가입
독서리서치레이더투자 프레임워크

It is worth noting that .NET 11 is a Standard Term Support (STS) version with two years of support, while .NET 10 remains a Long-Term Support (LTS) version. Microsoft also announced that support for .NET 8 and .NET 9 ended on November 10, requiring enterprises to upgrade to supported versions to continue receiving security updates.

출처

  • ithome.com.twiThome↗
주제

.NET 11

微软于2026年11月10日在.NET Conf 2026开发者大会上正式发布.NET 11标准期限支持(STS)版本,该版本提供两年技术支持,同时宣告.NET 8与.NET 9于次日终止支持。此次更新的核心在于C 15语言引入“联合类型”…

3 단계1 건업데이트됨 2026-11-15 21:04

현재까지의 과정

  1. 2026-11-10微软在.NET Conf 2026上正式宣布.NET 11通用可用性(GA)发布,确定其为标准期限支持(STS)版本,提供两年支持。devblogs.microsoft.com ↗
  2. 2026-11-10JetBrains发布ReSharper 2026.3,首日支持.NET 11与C# 15,并在Visual Studio中集成Claude Agent和Codex等AI编码代理。blog.jetbrains.com ↗
  3. 2026-11-11iThome报道指出,.NET 11 SDK默认启用Native AOT编译的CLI启动程序以减少命令延迟,并内建MCP服务器模板以支持AI代理工具开发。ithome.com.tw ↗

아직 해결되지 않은 문제

  • C# 15的联合类型在复杂业务逻辑中的性能开销(如装箱问题)是否已在所有场景下得到优化?
  • .NET MAUI切换至CoreCLR作为默认运行时后,对现有Mono依赖项目的迁移成本具体是多少?
  • 内置的MCP服务器模板在实际企业级AI代理部署中的安全性与合规性表现如何?
전체 주제 읽기 →
리서치 계속하기 →