Skip to sessions and notes

These session notes are AI-generated and may contain mistakes. Verify important details against the original recording.

.NET Conf 2026 Keynote - .NET 11 Launch

Scott Hanselman, Damian Edwards, Mads Torgersen, Chad Husk, Rich Lander, Dan Roth, Gerald Versluis, Louise, Jeff, Wendy, Drew Noakes, Kathy Sullivan, Maddie Montaquila

Keynote · 56:14 recording · 10 min read

At a glance

  • .NET 11 General Availability
  • C# 15 Discriminated Unions
  • Runtime Async (0-byte alloc)
  • Memory Safety V2 (Rust/Swift parity)
  • CoreCLR everywhere on MAUI

Executive Summary

The .NET Conf 2026 Keynote marks a landmark milestone: 25 years of .NET and the official launch of .NET 11. The keynote frames .NET not as a legacy platform fighting for relevance, but as a durable, ultra-fast, and adaptable foundational runtime that has successfully reinvented itself across five major industry eras: Windows (2002) → Web (MVC/SPA) → Mobile (Xamarin/.NET MAUI) → Cloud (.NET Core/Linux/Containers) → AI & Agentic Development (2026).

Core Breakthroughs Announced:

  1. C# 15 Discriminated Unions: First-class language support for union types (union Pet = Dog | Cat | Bird;) with exhaustive pattern matching and full type safety.
  2. Runtime Async: An architectural overhaul replacing compiler-generated async state machines with runtime JIT intrinsics, yielding 0-byte allocation on synchronous completions and near-synchronous performance.
  3. Memory Safety V2: Aligning C# memory safety standards with Rust and Swift, with unsafe expressions, stricter defaults, and compiler guardrails.
  4. Agent-First Tooling & C# Dev Kit 11: Re-engineered for multi-agent concurrency: workspace load times cut by 77%, memory reduced by 80% (Roslyn repo RAM down from 2 GB to 300 MB), and incremental builds on large solutions slashed from 36s to 2s.
  5. .NET MAUI on CoreCLR & Native AOT: CoreCLR now runs universally across Android, iOS, and macOS, bringing 2.4x faster startup and a 14% smaller footprint.
  6. Web & ASP.NET Core Evolution: Automatic browser Fetch Metadata CSRF protection, async form validation ([InStock]), OpenAPI 3.2 schema generation for unions, and native System.Text.Json union serialization.
  7. Local & Cloud AI: Official github.com/dotnet/skills catalog, Copilot Fusion, and Hugging Face's Llama for Windows app built natively with .NET 10 + WinUI 3.

Detailed Section-by-Section Breakdown

1. 25 Years of .NET & The TinyOS Retrospective

Presenter: Scott Hanselman

Scott reflected on his 25-year journey with .NET—from the original Bill Gates announcement in 2000, blogging in 2002 about unsafe uint-to-byte conversions, through open-sourcing ASP.NET and DOS Blog.

To demonstrate .NET's backward compatibility and durability, Scott showcased TinyOS Time Machine: a virtual machine and operating system simulator he originally authored as his college senior project 24 years ago in .NET 1.0. With minimal effort, it was updated to run live on .NET 11, complete with simulated floppy disks, real-time memory dumps, and a retro CRT screen shader.

Scott Hanselman - TinyOS on .NET 11
Scott Hanselman - TinyOS on .NET 11


2. The Five Eras of .NET & .NET 11 Launch

Presenter: Damian Edwards

Damian chronicled the evolutionary waves of software engineering and how .NET adapted:

  1. Windows Era (2002): CLR, BCL, SOAP interoperability, C# and VB.NET.
  2. Web Era: ASP.NET MVC, open-source adoption, shipping jQuery inside project templates.
  3. Mobile Era: Xamarin bringing C# to iOS and Android, responsive web rendering, leading to .NET MAUI.
  4. Cloud Era: Complete platform reboot on .NET Core; Linux, macOS, Docker containers, and obsessive performance tuning.
  5. AI & Agentic Era (Today): The most profound change in software engineering history, where development tools and runtimes must serve both human developers and autonomous AI agents.

Damian officially announced the General Availability of .NET 11, rolling out worldwide via get.dot.net.

.NET 11 Launch Announcement
.NET 11 Launch Announcement


3. C# 15: Discriminated Unions & Exhaustive Matching

Presenter: Mads Torgersen

Mads introduced the headlining feature of C# 15: Discriminated Unions. Previously, grouping disparate types required an artificial base class, interface, or object, forfeiting compiler type safety and causing switch statements to lack exhaustiveness checks.

Syntax & Declaration:

public union Pet = Dog | Cat | Bird;

Key Capabilities:

  • Zero Boiled-Plate Hierarchy: Participating types (Dog, Cat, Bird) do not need to know about or inherit from Pet.
  • Implicit Conversions: Implicit widening from member types to the union type (Pet p = new Dog();), while preventing unassociated types (Shark) from being assigned.
  • Exhaustive Pattern Matching: The compiler enforces that all possible union cases are handled. If a new member type (Hamster) is later added to Pet, the compiler immediately flags all switch expressions as non-exhaustive errors/warnings.
  • Preview Features: Mads also highlighted runtime async integration and safer unsafe expressions coming in C# 15.

C# 15 Discriminated Unions Code Demo
C# 15 Discriminated Unions Code Demo

C# 15 Features Overview
C# 15 Features Overview


4. .NET CLI & MSBuild: Native AOT & Multi-Threaded Builds

Presenter: Chad Husk

Chad shared that global .NET CLI usage has roughly tripled over the past year. In .NET 11, the CLI and MSBuild receive substantial performance and developer experience enhancements:

  • Advanced File-Based Applications: Lightweight .cs script-like apps can now include external files directly (include "reporting.cs";), reference NuGet packages (dotnet package add), and add project references without full .csproj ceremony.
  • Native AOT CLI: The dotnet CLI executable is now compiled ahead-of-time (Native AOT), eliminating hundreds of milliseconds of startup JIT overhead on every CLI invocation.
  • Multi-Threaded Build Mode (-mt): An opt-in build mode (dotnet build -mt) dramatically accelerating warm and cold builds for both human iterative loops and rapid agent build loops.
  • Interactive dotnet run: Intelligently prompts developers when multiple target frameworks (TFMs), RIDs, or mobile devices/simulators exist.
  • Native Container Publishing: Directly publishes container images to WSL and macOS runtimes without requiring third-party container engines installed.

File-based Applications in .NET 11
File-based Applications in .NET 11

CLI Native AOT and Multi-threaded Builds
CLI Native AOT and Multi-threaded Builds


5. Runtime Engineering: Runtime Async & Memory Safety V2

Presenter: Rich Lander

Rich presented two major collaborative milestones between the CLR Runtime and Roslyn Compiler teams:

1. Runtime Async (<Features>runtime-async</Features>)

  • Elimination of State Machines: The Roslyn compiler no longer generates bulky compiler-generated state machines (IAsyncStateMachine structs/classes). Instead, async calls are wrapped in JIT intrinsics on runtime helper classes.
  • 0-Byte Allocations: In the common synchronous-completion path, memory allocation is 0 bytes across all stack depths (traditional compiler async allocations scale linearly with call stack depth).
  • Near-Synchronous Performance: Async calls execute with the speed of standard synchronous calls without needing ValueTask<T> optimizations.
  • Scheduled to be the default in .NET 12.

2. Memory Safety V2

  • Addresses industry findings where 70% of vulnerabilities stem from memory safety bugs (echoing findings from Microsoft and Google).
  • Aligns C# memory safety standards with Rust and Swift.
  • Unsafe blocks remain strictly disallowed by default (<AllowUnsafeBlocks>false</AllowUnsafeBlocks>).
  • Introduces Unsafe Expressions to allow creating clean, safe facades around granular unsafe code.

Runtime Async Allocation Comparison
Runtime Async Allocation Comparison

Memory Safety V2: C#, Rust, and Swift
Memory Safety V2: C#, Rust, and Swift


6. ASP.NET Core & Blazor Innovations

Presenter: Dan Roth

Dan demonstrated how .NET 11 ensures web applications remain secure, strongly typed, and responsive:

  • Unions in APIs & Serialization: System.Text.Json natively handles C# 15 union types, serializing the active case directly without extra wrappers or discriminator properties.
  • OpenAPI 3.2 Integration: Automatically generates anyOf schema definitions for union endpoints:
    "Resolution": {
      "anyOf": [
        { "$ref": "#/components/schemas/Refund" },
        { "$ref": "#/components/schemas/Replacement" }
      ]
    }
    
  • Async Validation in Blazor & Minimal APIs: Form components and backend APIs now natively execute async validation attributes (e.g., [InStock] checking live inventory). Blazor forms expose EditContext.IsValidationPending to drive UI spinners.
  • Automatic Cross-Site Request Forgery (CSRF) Protection: ASP.NET Core automatically parses browser Fetch Metadata headers (Sec-Fetch-Site, Sec-Fetch-Mode), blocking cross-origin forge requests by default without manual anti-forgery token plumbing.

ASP.NET Core OpenAPI 3.2 Unions
ASP.NET Core OpenAPI 3.2 Unions

Blazor Async Validation
Blazor Async Validation

Automatic CSRF Protection via Fetch Metadata
Automatic CSRF Protection via Fetch Metadata


7. .NET MAUI: CoreCLR Everywhere & Native AOT

Presenter: Gerald Versluis

Gerald highlighted the unification of the .NET mobile runtime and agentic engineering advancements:

  • CoreCLR on Mobile: Replaced Mono with CoreCLR universally across Android, iOS, and Mac Catalyst.
  • Native AOT for Mobile: Apps launch 2.4x faster with a 14% smaller download size.
  • XAML Source Generation: Enabled by default in .NET 11 for compile-time performance and trimming safety.
  • Avalonia Collaboration: Bringing .NET MAUI targets to Linux and WebAssembly browsers.
  • Agentic Engineering Impact: The .NET MAUI core team scaled from ~400 PRs/month to over 1,600 PRs/month, with 80% authored by Copilot, tackling years of backlog papercuts (e.g., Long Press gesture, Maps improvements, Material 3).
  • Maui Labs DevFlow: A new agent-interactive loop allowing AI agents to inspect, manipulate, and self-iterate on running MAUI applications.
  • Official .NET Conf App: Live on iOS and Android app stores, fully built using agents and .NET 11.

.NET MAUI CoreCLR & Native AOT
.NET MAUI CoreCLR & Native AOT

Maui Labs DevFlow
Maui Labs DevFlow


8. Enterprise Modernization: Windows 365 & .NET Aspire

Presenters: Louise & Windows 365 Cloud PC Team

The Windows 365 (Cloud PC) team shared their architectural transition across 100+ microservices and 4,000+ scenario tests:

  • The Challenge: Complex local dependency graphs (Cosmos DB, Entra ID, Azure Functions, seed data) previously required days for developers to set up.
  • Aspire AppHost Orchestration: Replaced manual setup with single-click F5 execution, automated service discovery, and unified OpenTelemetry (logs, metrics, distributed traces).
  • Readiness Checks: Eliminated flaky fixed startup delays with precise resource health checks (e.g., Cosmos DB partition readiness).
  • Agentic Migration Loop: Automated repetitive multi-repo migrations using an autonomous AI loop:
    $$\text{Learn} \longrightarrow \text{Plan} \longrightarrow \text{Change} \longrightarrow \text{Test (Aspire Cloud Gate)} \longrightarrow \text{Learn}$$
    Deterministic Aspire integration tests act as the quality gate, while every PR remains human-reviewed.

Windows 365 Microservices with Aspire
Windows 365 Microservices with Aspire

Agentic AI Migration Loop
Agentic AI Migration Loop


9. AI Ecosystem, Semantic Search & Hugging Face

Presenters: Louise & Jeff (Hugging Face)

  • Semantic Search in Existing Codebases: Showcased Jellyfin (open-source media server) upgraded with semantic vector search using .NET AI libraries without rewriting backend logic.
  • Multimodal AI Pipelines: Generative video/demo production incorporating storyboarding, narration, captions, and thumbnail generation using AGUI and Blazor AI components.
  • Microsoft.Extensions.AI Routing: Intelligent chat clients dynamically routing prompts between lightweight local models and large frontier cloud models.
  • Hugging Face "Llama for Windows":
    • Developed collaboratively with the llama.cpp team.
    • Built entirely on .NET 10 and WinUI 3.
    • Runs in the Windows system tray, offering one-click model downloads, local inference, and OpenAI-compatible REST API endpoints.
    • 100% free, open source (llama.app), and arriving on the Windows Store.

Hugging Face Llama for Windows
Hugging Face Llama for Windows


10. Agentic Development & .NET Skills Evaluation

Presenter: Wendy

Wendy explored how AI agents are transforming day-to-day C# engineering:

  • Copilot Fusion: Automatically chooses the optimal LLM (e.g., GPT-6 Luna) based on task complexity.
  • Language Server Protocol (LSP) Tools: Equips agents with Roslyn LSP search tools for fast, accurate code symbol resolution.
  • Official .NET Skills Catalog: Available at github.com/dotnet/skills, offering curated skills for C# Expert, EF Core, Blazor, and MAUI.
  • Skills Evaluation Dashboard: Continuously benchmarks .NET skills across frontier models, measuring token reduction, completion time speedups, and task success reliability.
  • Roslyn Multi-Agent Optimization: Roslyn workspace memory consumption was cut by up to 50% when multiple autonomous agents execute concurrently.

.NET Skills Evaluation Dashboard
.NET Skills Evaluation Dashboard


11. Next-Generation Tooling: C# Dev Kit 11

Presenter: Drew Noakes

Drew detailed the structural redesign of C# Dev Kit 11, moving from a single-user single-IDE mindset to an environment where human developers and background agents collaborate concurrently on the same machine:

  • Workspace Load Times: Reduced by 77%.
  • Server Process RAM: Slashed by 80% (e.g., loading the Roslyn repository dropped from 2 GB to 300 MB).
  • Incremental Solution Builds: Building the 407-project .NET Aspire solution dropped from 36 seconds to just 2 seconds.
  • Shared Warm Caches: When background agents compile code, the cache warms the environment for the developer's IDE and test runners.
  • Roadmap: Exploring dedicated "Agent-Oriented Modes" in the CLI and SDK to streamline machine-driven tasks.

C# Dev Kit 11 Performance Gains
C# Dev Kit 11 Performance Gains


12. Community Celebration & Closing

Presenters: Kathy Sullivan & Maddie Montaquila

Kathy and Maddie closed the keynote celebrating the global community:

  • 4 days of content with over 60 technical sessions.
  • Days 1 & 2: First-party deep dives by Microsoft engineering teams.
  • Days 3 & 4: Hosted and delivered by the global community.
  • Acknowledgment of corporate contributors and the .NET Security Group.
  • Installation: .NET 11 is available today via get.dot.net, winget, and dotnet-up.

.NET Conf 2026 Community
.NET Conf 2026 Community


Resource Path / Link
Keynote Summary Document 01_keynote_summary.md
Complete Raw Transcript keynote_transcript.txt
YouTube Video Stream youtube.com/watch?v=PWAVvWTzzHo
Screenshot Gallery screenshots/
Main Tracker Index README.md