.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
AI 搜索 | 作者 industry_watcher | 发布于6 小时前 | | 阅读数:68.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
原文标题: .NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
来源: InfoQ | 分类: news
原文链接: .NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
📰 中文摘要
.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
[
.NET
](/dotnet/)
.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
Mar 19, 2026
2
Listen to this article - 0:00
Audio ready to play
0:00
0:00
Normal1.25x1.5x
Like
Last week, Microsoft released the second preview of .NET 11, bringing a wide range of improvements ...
🔍 内容解读
段落 1
.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 2
.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 3
Last week, Microsoft released the second preview of .NET 11, bringing a wide range of improvements across its development platform. As reported, the release covers updates to the runtime, SDK, libraries, ASP.NET Core, Blazor, .NET MAUI, F#, and more. The preview is available now, and as stated, it represents a significant step forward in the platform's ongoing development cycle.
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 4
A new dotnet new webworker project template has also been introduced, allowing Blazor WebAssembly applications to offload heavy computations to a Web Worker without blocking the UI thread, keeping applications responsive during demanding operations.
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 5
Kestrel's HTTP/1.1 request parser has been reworked to avoid throwing exceptions on malformed requests. As stated, throughput improvements of 20 to 40 percent have been reported in high invalid-traffic scenarios such as port scanning or misconfigured clients.
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 6
The Map control in .NET MAUI has received significant attention in this preview. Developers can now define map coordinates directly in XAML using a simplified syntax, removing the need for verbose markup that was previously required. A new Map.Region bindable property also allows developers to set the map's initial region declaratively.
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
段落 7
Map elements such as polygons, polylines, and circles now support visibility toggling and draw-order control through new IsVisible and ZIndex properties, enabling more dynamic and interactive map overlays. Click events on the map elements are also now supported on both Android and iOS, opening the door for richer user interaction without additional workarounds.
💡 行业趋势:这反映了当前技术发展的前沿方向,值得持续关注其后续进展。
段落 8
Binding performance has also improved considerably in .NET MAUI. TypedBinding and SourceGeneratedBinding are reported to be approximately 29 percent faster with 50 percent less memory allocation per operation, thanks to delegate caching, binding mode caching, and the removal of unnecessary type conversions. As described, the long-standing bug affecting empty-string binding to nullable value types has been resolved, correctly setting the bound property to null when an input field is cleared.
🤖 AI技术解读:这体现了人工智能技术在垂直领域的深入应用,展示了AI如何改变传统行业的工作方式。
📄 完整原文
点击展开查看完整原文
.NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support [ .NET ](/dotnet/) # .NET 11 Preview 2 Brings Performance Gains, Improved Mapping, and Native OpenTelemetry Support Mar 19, 2026 2 Listen to this article - 0:00 Audio ready to play 0:00 0:00 Normal1.25x1.5x Like Last week, Microsoft released the [second preview of .NET 11](https://devblogs.microsoft.com/dotnet/dotnet-11-preview-2/), bringing a wide range of improvements across its development platform. As reported, the release covers updates to the runtime, SDK, libraries, ASP.NET Core, Blazor, .NET MAUI, F#, and more. The preview is available now, and as stated, it represents a significant step forward in the platform's ongoing development cycle. A new dotnet [*new webworker*](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/aspnetcore.md#net-web-worker-project-template) project template has also been introduced, allowing Blazor WebAssembly applications to offload heavy computations to a Web Worker without blocking the UI thread, keeping applications responsive during demanding operations. [Kestrel's HTTP/1.1](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/aspnetcore.md#performance-improvements) request parser has been reworked to avoid throwing exceptions on malformed requests. As stated, throughput improvements of 20 to 40 percent have been reported in high invalid-traffic scenarios such as port scanning or misconfigured clients. The Map control in .[NET MAUI](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/dotnetmaui.md) has received significant attention in this preview. Developers can now define map coordinates directly in XAML using a simplified syntax, removing the need for verbose markup that was previously required. A new *Map.Region* bindable property also allows developers to set the map's initial region declaratively. Map elements such as *polygons*, *polylines*, and *circles* now support visibility toggling and draw-order control through new *IsVisible* and *ZIndex* properties, enabling more dynamic and interactive map overlays. Click events on the map elements are also now supported on both Android and iOS, opening the door for richer user interaction without additional workarounds. Binding performance has also improved considerably in .NET MAUI. *TypedBinding* and [*SourceGeneratedBinding*](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/dotnetmaui.md#typedbinding-performance-improvements) are reported to be approximately 29 percent faster with 50 percent less memory allocation per operation, thanks to delegate caching, binding mode caching, and the removal of unnecessary type conversions. As described, the *long-standing* bug affecting empty-string binding to nullable value types has been resolved, correctly setting the bound property to null when an input field is cleared. In contrast to C#, Preview 2 brings several notable additions to the [F# programming language](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/fsharp.md). The language gains support for the #elif preprocessor directive, eliminating the need for deeply nested conditional compilation blocks. A new [*partitionWith*](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/fsharp.md#partitionwith-for-collections) function has been added across core collection types, allowing as-explained collections to be split into two groups of different element types. A new overload resolution caching mechanism is reported to reduce type-checking time from 6.5 seconds to 2.9 seconds in tested benchmarks. All 462 functions across core collection modules now also include [Big-O complexity notes](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/fsharp.md#big-o-complexity-documentation) visible directly in IDE tooltips. Other changes in this release include a generic [*GetTypeInfo*](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/libraries.md#generic-gettypeinfo-for-systemtextjson) for *System.Text.Json*, [tar archive](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/libraries.md#tar-archive-format-selection) format selection, and, as reported 15 percent performance improvement to [*Matrix4x4.GetDeterminant*](https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview2/libraries.md#matrix4x4getdeterminant-15-faster). For interested readers, the full release notes are available on the [official .NET blog](https://devblogs.microsoft.com/dotnet/dotnet-11-preview-2/) and the dotnet [GitHub repository](https://github.com/dotnet). ## About the Author **Almir Vuk** Show moreShow less ### Rate this Article Adoption Style Author Contacted This content is in the .NET topic Related Topics: Related Editorial Related Sponsors Related Sponsor [ /filters:no_upscale()/sponsorship/topic/614695a5-5e4d-4f5f-9c9a-a9d95f85b864/AkkaWebinarMar26-RSB-1771605862949.jpg) ](/url/f/e9394d05-d7ef-4a3a-beab-06bc96771bd9/) March 26th, 2026, 11 AM EDT ### Related Content A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. Enter your e-mail address Select your country Select a country I consent to InfoQ.com handling my data as explained in this [Privacy Notice](https://www.infoq.com/privacy-notice).🏢 关于 InfoQ
InfoQ 是知名的技术媒体,专注于报道人工智能、科技创新领域的最新动态。
📎 相关链接
本文内容由 AI 辅助整理,仅供学习交流使用。版权归原作者所有。

图片来源: InfoQ
📷 相关图片
本文地址:http://elasticsearch.cn/article/15798