{"id":60230,"date":"2026-06-09T11:30:00","date_gmt":"2026-06-09T18:30:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet\/?p=60230"},"modified":"2026-06-09T11:35:09","modified_gmt":"2026-06-09T18:35:09","slug":"dotnet-11-preview-5","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/dotnet-11-preview-5\/","title":{"rendered":".NET 11 Preview 5 is now available!"},"content":{"rendered":"<p>Today, we are excited to announce the fifth preview release of .NET 11! This release includes improvements across the .NET Runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, Entity Framework Core, and more. Check out the linked release notes below and get started today.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/dotnet.microsoft.com\/download\/dotnet\/11.0\" target=\"_blank\">Download .NET 11 Preview 5<\/a><\/div><\/p>\n<p>This release contains the following improvements.<\/p>\n<h2><strong>\ud83d\udcdaLibraries<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/libraries.md#systemtextjson-supports-json-lines-serialization\">System.Text.Json supports JSON Lines serialization<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/libraries.md#linq-adds-full-outer-joins\">LINQ adds full outer joins<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/libraries.md#cryptography-adds-x25519-key-agreement\">Cryptography adds X25519 key agreement<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/libraries.md#random-adds-generic-numeric-apis\">Random adds generic numeric APIs<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/libraries.md\">See all library updates<\/a><\/li>\n<\/ul>\n<h2><strong>\u23f1\ufe0fRuntime<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/runtime.md#runtime-async-suspension-is-faster\">Runtime-async suspension is faster<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/runtime.md#jit-optimizations\">JIT optimizations<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/runtime.md#gc-trimming-and-compaction-improvements\">GC trimming and compaction improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/runtime.md\">See all runtime updates<\/a><\/li>\n<\/ul>\n<h2><strong>\ud83d\udee0\ufe0f SDK<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/sdk.md#file-based-apps-can-reference-other-c-files\">File-based apps can reference other C# files<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/sdk.md#sdk-vulnerability-and-eol-checks-are-available-during-build\">SDK vulnerability and EOL checks are available during build<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/sdk.md#dotnet-new-includes-the-mcp-server-template\"><code>dotnet new<\/code> includes the MCP Server template<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/sdk.md#console-apps-include-systemnethttpjson-by-default\">Console apps include <code>System.Net.Http.Json<\/code> by default<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/sdk.md\">See all SDK updates<\/a><\/li>\n<\/ul>\n<h2><strong>C#<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/csharp.md#closed-class-hierarchies\">Closed class hierarchies<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/csharp.md#union-declarations-and-union-patterns\">Union declarations and union patterns<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/csharp.md#unsafe-evolution\">Unsafe Evolution<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/csharp.md\">See all C# updates<\/a><\/li>\n<\/ul>\n<h2><strong>\ud83c\udf10 ASP.NET Core<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/aspnetcore.md#blazor-ssr-supports-client-side-validation\">Blazor SSR supports client-side validation<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/aspnetcore.md#quickgrid-works-without-interactivity\">QuickGrid works without interactivity<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/aspnetcore.md#blazor-webassembly-gateway\">Blazor WebAssembly Gateway<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/aspnetcore.md#supplyparameterfromsession-for-blazor\"><code>SupplyParameterFromSession<\/code> for Blazor<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/aspnetcore.md\">See all ASP.NET Core updates<\/a><\/li>\n<\/ul>\n<h2><strong>\ud83d\udcf1 .NET MAUI<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/dotnetmaui.md#reliability-and-platform-fix-wave-lands-in-net-11\">Reliability and platform-fix wave lands in .NET 11<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/dotnetmaui.md#animations-get-cancellationtoken-aware-overloads\">Animations get CancellationToken-aware overloads<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/dotnetmaui.md#windows-maps-gains-a-real-implementation-backed-by-azure-maps\">Windows Maps gains a real implementation backed by Azure Maps<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/dotnetmaui.md#net-for-android-stabilizes-api-37\">.NET for Android stabilizes API 37<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/dotnetmaui.md\">See all .NET MAUI updates<\/a><\/li>\n<\/ul>\n<h2><strong>\ud83c\udf81 Entity Framework Core<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/efcore.md#dotnet-ef-supports-file-based-apps\"><code>dotnet ef<\/code> supports file-based apps<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/efcore.md#sql-server-2022-compatibility-is-now-the-default\">SQL Server 2022 compatibility is now the default<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/efcore.md#ef1004-warns-when-async-ef-queries-run-synchronously\">EF1004 warns when async EF queries run synchronously<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/efcore.md#query-translation-produces-cleaner-sql\">Query translation produces cleaner SQL<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview5\/efcore.md\">See all EF Core updates<\/a><\/li>\n<\/ul>\n<h2>\ud83d\ude80 Get started<\/h2>\n<p>To get started with .NET 11, <a href=\"https:\/\/dotnet.microsoft.com\/download\/dotnet\/11.0\">install the .NET 11 SDK<\/a>.<\/p>\n<p>If you&#8217;re on Windows using Visual Studio, we recommend installing the latest <a href=\"https:\/\/visualstudio.microsoft.com\/insiders\">Visual Studio 2026 Insiders<\/a>. You can also use Visual Studio Code and the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-dotnettools.csdevkit\">C# Dev Kit<\/a> extension with .NET 11.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find out about the new features in .NET 11 Preview 5 across the .NET runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, Entity Framework Core, and more!<\/p>\n","protected":false},"author":11288,"featured_media":60231,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685,7233,7509,756,859],"tags":[7893,7744],"class_list":["post-60230","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","category-maui","category-aspnetcore","category-csharp","category-entity-framework","tag-dotnet-11","tag-featured-preview"],"acf":[],"blog_post_summary":"<p>Find out about the new features in .NET 11 Preview 5 across the .NET runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, Entity Framework Core, and more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/60230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/11288"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=60230"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/60230\/revisions"}],"predecessor-version":[{"id":60233,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/60230\/revisions\/60233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/60231"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=60230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=60230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=60230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}