26
5
内容纲要
时间过得真快,.NET 5我还没有来得及研究,眼看.NET 6的正式版本马上就要来了,我一直期待这个版本,因为这是LTS版本,我们团队会迁移到这个版本上来。
社区一直在不断推进.NET 6的可用性,Build 2021大会发布了Preview4,这个版本更新很大,可能与最终的版本相差不大,,正式发布RC版本是在8月份,正式发布RTM版本是在11月 ,到时后.NET正式完成.NET Framwork和.NET Core以及Mono的功能统一,还是非常值得期待的。
新产品功能:
System.Text.Json support for IAsyncEnumerable
System.Text.Json: Writable DOM Feature
Microsoft.Extensions.Logging compile-time source generator
System.Linq enhancements
Significantly improved FileStream performance on Windows
Enhanced Date, Time and Time Zone support
CodeGen
.NET Diagnostics: EventPipe for Mono and Improved EventPipe Performance
IL trimming
Single-file publishing
CLI install of .NET 6 SDK Optional Workloads
Built-in SDK version checking
CLI Templates (dotnet new)
另外,还有.NET MAUI或多平台应用UI :允许开发人员构建适用于Windows、MacOS、ios 和android的应用程序,共享单一代码库和模板。
ASP.NET Blazor混合应用程序:帮助开发人员构建基于Web的跨平台桌面体验,从而利用本机设备功能。
对ARM的加强支持:包括 Silicon 和ARM64支持。