At midnight on November 8, 2021,.net + C#10 + VS2022 launches, ushering in a new era for.net!

NET6 claims to be the fastest yet. NET, what are the highlights?

With over 10,000 Git submissions, this release has been updated and improved a lot. Below is a translation of Microsoft’s official blog post, which is very long and rich. However, it is not easy to understand, and there is a more down-to-earth interpretation of the Microsoft MVP.

Microsoft official blog introduction

  • Production stress tests were conducted using Microsoft services, cloud applications run by other companies, and open source projects.
  • As the latest long Term Support (LTS) release, it will be supported for three years.
  • A unified platform for cross-browser, cloud, desktop, IoT, and mobile applications, all using the same.NET libraries and the ability to easily share code.
  • Overall performance improvements, especially file I/O, collectively result in reduced execution time, latency, and memory usage.
  • C# 10 language improvements such as record structure, implicit use, and new lambda capabilities, while the compiler added incremental source generators. F# 6 adds new features, including task-based asynchrony, pipeline debugging, and numerous performance improvements.
  • Visual Basic improves the Visual Studio experience and the Windows Forms project opening experience.
  • Hot reloading lets you skip rebuilding and restarting the application to see the new changes — while the application is running — supported in Visual Studio 2022 and.net CLI, for C# and Visual Basic.

  • Cloud diagnostics has been improved with OpenTelemetry and Dotnet monitors and is now supported in production and available for Azure application services.
  • JSON APIS are more powerful, with higher performance, and source generators with serializers.
  • ASP.NET Core introduces minimal apis to simplify the getting started experience and improve the performance of HTTP services.
  • The Blazor component can now be rendered from JavaScript and integrated with existing javascript-based applications.
  • WebAssembly AOT compilation for Blazor WebAssembly (Wasm) applications, as well as support for runtime re-linking and native dependencies.
  • Single-page applications built with ASP.NET Core now use a more flexible schema that can be used with Angular, React, and other popular front-end JavaScript frameworks.
  • HTTP/3 was added so that ASP.NET Core, HttpClient, and gRPC can all interact with HTTP/3 clients and servers.
  • File IO now supports symbolic links and has greatly improved performance with a rewrite of FileStream.
  • Security is improved through support for OpenSSL 3, ChaCha20Poly1305 encryption schemes and runtime defense in Depth mitigation measures, especially W^X and CET.
  • You can publish single-file applications (extract-free) for Linux, macOS, and Windows (previously Linux only).
  • IL trim is now more powerful and efficient, with new warnings and profilers to ensure correct end results.
  • Source code generators and profilers have been added to help you generate better, safer and higher performance code.
  • Source code builds enable organizations such as Red Hat to build.NET from source code and provide their own builds to their users.

What.net practitioners should focus on

The above is Microsoft official blog interpretation, however, I am an ordinary. NET practitioners, what are the most important concerns?

1.. NET6 is a long-supported version of LTS that has undergone a long period of online production stress testing before release, so it is very reliable and can be switched decisively.

2.. NET6 once again saw significant performance improvements, from file I/O performance, to Json API of framework layer, and even PGO deep optimization of code compilation.

3.. NET6 is the true cross-browser, cloud, desktop, IoT and mobile application unified development platform, do Web development, client development, also can quickly cut into the Internet of things, mobile development, artificial intelligence and other fields, broad prospects;

4.Blazor has been updated with minimal apis, cross-platform MAUI and other new technologies, which means a lot of new content for.NET developers to learn.

5. HotReload HotReload, AOT compilation, deep Arm support and other new skills, both cool and awesome, will be expanded. NET application scenarios, improve development efficiency, in the final analysis is a lot of good things;

.net6.0 download address: dotnet.microsoft.com/en-us/downl…

51aspx.com is regularly sent. NET related articles. Welcome to focus on praise and forwarding.