{"id":59687,"date":"2026-03-10T13:35:00","date_gmt":"2026-03-10T20:35:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet\/?p=59687"},"modified":"2026-03-10T13:31:58","modified_gmt":"2026-03-10T20:31:58","slug":"dotnet-11-preview-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/dotnet-11-preview-2\/","title":{"rendered":".NET 11 Preview 2 is now available!"},"content":{"rendered":"<p>Today, we are excited to announce the second preview release of .NET 11! This release includes improvements across the .NET Runtime, SDK, libraries, ASP.NET Core, Blazor, .NET MAUI, F#, Entity Framework Core, container images, and more. Check out the full release notes linked 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 2<\/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\/preview2\/libraries.md#generic-gettypeinfo-for-systemtextjson\">Generic <code>GetTypeInfo<\/code> for <code>System.Text.Json<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/libraries.md#tar-archive-format-selection\">Tar archive format selection<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/libraries.md#matrix4x4getdeterminant-15-faster\"><code>Matrix4x4.GetDeterminant<\/code> ~15% faster<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/libraries.md\">Full Release Notes<\/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\/preview2\/runtime.md#runtime-async-v2\">Runtime Async (V2)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/runtime.md#jit\">JIT improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/runtime.md#vm\">Cached interface dispatch and other VM improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/runtime.md\">Full Release Notes<\/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\/preview2\/sdk.md#smaller-sdk-installers-on-linux-and-macos\">Smaller SDK installers on Linux and macOS<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/sdk.md#code-analyzer-improvements\">Code analyzer improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/sdk.md#new-sdk-warnings-and-build-targets\">New SDK warnings and build targets<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/sdk.md\">Full Release Notes<\/a><\/li>\n<\/ul>\n<h2><strong>C#<\/strong><\/h2>\n<p>.NET 11 Preview 2 doesn&#8217;t include any notable new C# language features or breaking changes. Browse the <a href=\"https:\/\/learn.microsoft.com\/dotnet\/csharp\/whats-new\/\">What&#8217;s new in C#<\/a> documentation for details.<\/p>\n<h2><strong>F#<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/fsharp.md#simplified-dim-interface-hierarchies\">Simplified DIM interface hierarchies<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/fsharp.md#overload-resolution-caching\">Overload resolution caching<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/fsharp.md#elif-preprocessor-directive\"><code>#elif<\/code> preprocessor directive<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/fsharp.md#partitionwith-for-collections\"><code>partitionWith<\/code> for collections<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/fsharp.md\">Full Release Notes<\/a><\/li>\n<\/ul>\n<h2><strong>Visual Basic<\/strong><\/h2>\n<p>.NET 11 Preview 2 doesn&#8217;t include any notable new Visual Basic language features or breaking changes. Browse the <a href=\"https:\/\/learn.microsoft.com\/dotnet\/visual-basic\/whats-new\/\">What&#8217;s new in Visual Basic<\/a> documentation for details.<\/p>\n<h2><strong>\ud83c\udf10 ASP.NET Core &amp; Blazor<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md#native-opentelemetry-tracing-for-aspnet-core\">Native OpenTelemetry tracing for ASP.NET Core<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md#tempdata-support-for-blazor\">TempData support for Blazor<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md#openapi-320-support-breaking-change\">OpenAPI 3.2.0 support<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md#net-web-worker-project-template\">.NET Web Worker project template<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md#performance-improvements\">Performance improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/aspnetcore.md\">Full Release Notes<\/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\/preview2\/dotnetmaui.md#map-control-improvements\">Map control improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#typedbinding-performance-improvements\">TypedBinding performance improvements<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#immutability-annotations-for-color-and-font\">Immutability annotations for <code>Color<\/code> and <code>Font<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#visualstatemanager-api-consistency\">VisualStateManager API consistency<\/a><\/li>\n<\/ul>\n<h3><strong>.NET for Android<\/strong><\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#fixes-and-improvements-to-dotnet-run\">Fixes and improvements to <code>dotnet run<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#use-response-files-when-calling-r8jar\">Use response files when calling <code>r8.jar<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md#coreclr-on-android-requires-api-24-or-higher\">CoreCLR now requires API 24 and higher<\/a><\/li>\n<\/ul>\n<p>Browse the <a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/dotnetmaui.md\">full release notes<\/a> for all of this and more, including experimental CoreCLR support for .NET for iOS, Mac Catalyst, macOS, and tvOS.<\/p>\n<h2><strong>\ud83d\udda5\ufe0f Windows Forms<\/strong><\/h2>\n<p>.NET 11 Preview 2 doesn&#8217;t include any notable new Windows Forms features or breaking changes. Browse the <a href=\"https:\/\/learn.microsoft.com\/dotnet\/desktop\/winforms\/whats-new\/\">What&#8217;s new in Windows Forms<\/a> documentation for details.<\/p>\n<h2><strong>\ud83d\udda5\ufe0f Windows Presentation Foundation (WPF)<\/strong><\/h2>\n<p>This release focused on quality improvements, including a fix to guard against crashes caused by Desktop Window Manager (DWM) failures. A full list of changes can be found in the <a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/wpf.md\">release notes<\/a>.<\/p>\n<h2><strong>\ud83c\udf81 Entity Framework Core<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/ef\/core\/what-is-new\/ef-core-11.0\/whatsnew#linq-maxby-minby\">Support for LINQ <code>MaxBy<\/code> and <code>MinBy<\/code><\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/ef\/core\/what-is-new\/ef-core-11.0\/whatsnew#sqlserver-vector-search\">Support for SQL Server DiskANN vector indexes and <code>VECTOR_SEARCH()<\/code><\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/ef\/core\/what-is-new\/ef-core-11.0\/whatsnew#sqlserver-full-text\">Support for creating SQL Server full-text catalogs and indexes<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/ef\/core\/what-is-new\/ef-core-11.0\/whatsnew#sql-server-json-contains\">Support for SQL Server <code>JSON_CONTAINS()<\/code><\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/efcore.md\">Full Release Notes<\/a><\/li>\n<\/ul>\n<h2><strong>\ud83d\udce6 Container Images<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/containers.md#sdk-container-images-are-up-to-17-smaller\">SDK container images are up to 17% smaller<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/release-notes\/11.0\/preview\/preview2\/containers.md\">Full Release Notes<\/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 2 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!<\/p>\n","protected":false},"author":11288,"featured_media":59688,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685,7233,7509,7251,756],"tags":[7893,7744],"class_list":["post-59687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","category-maui","category-aspnetcore","category-blazor","category-csharp","tag-dotnet-11","tag-featured-preview"],"acf":[],"blog_post_summary":"<p>Find out about the new features in .NET 11 Preview 2 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/59687","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=59687"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/59687\/revisions"}],"predecessor-version":[{"id":59689,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/59687\/revisions\/59689"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/59688"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=59687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=59687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=59687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}