.NET 6 platform open platform release

Microsoft has unveiled a significant new release of the .NET 6 open platform, built by unifying the .NET Framework, .NET Core, and Mono products. With .NET 6, you can build cross-platform applications across the browser, cloud, desktop, IoT devices, and mobile platforms using common libraries and a common application-independent build process. The .NET SDK 6, .NET Runtime 6, and ASP.NET Core Runtime 6 assemblies are built for Linux, macOS, and Windows. .NET Desktop Runtime 6 is only available for Windows. The developments related to the project are distributed under the MIT license.

.NET 6 includes the CoreCLR runtime with the RyuJIT JIT compiler, standard libraries, CoreFX libraries, WPF, Windows Forms, WinUI, Entity Framework, dotnet command line interface, and tools for developing microservices, libraries, server, graphical and console applications . Separately published are the ASP.NET Core 6.0 web application development stack and the Entity Framework Core 6.0 ORM layer (drivers, including those for SQLite and PostgreSQL), as well as the C# 10 and F# 6 releases. Support for .NET 6.0 and C# 10 is included in the free Visual Studio Code editor.

Features of the new release:

  • Significantly improved performance, including file I / O optimization.
  • C# 10 introduces support for structures in the form of records (record struct), the global using directive, file-bound namespaces, and new features for lambda expressions. Support for incremental source code generation has been added to the compiler.
  • F# 6 introduces support for the async task execution mechanism and pipelined debugging.
  • A Hot Reload feature is available that provides the means to edit code on the fly while a program is running, allowing changes to be made without manually stopping execution and without attaching breakpoints. The developer can run the application under "dotnet watch", after which the changes made to the code are automatically applied to the running application, which allows you to immediately observe the result.
  • Added "dotnet monitor" utility to access diagnostic information for the dotnet process.
  • A new system of dynamic optimization based on the results of code profiling (PGO - Profile-guided optimization) is proposed, which allows generating more optimal code based on the analysis of execution features. The use of PGO improved the performance of the TechEmpower JSON "MVC" suite by 26%.
  • ASP.NET Core, HttpClient and gRPC have added support for the HTTP/3 protocol.
  • Extended API related to JSON format. Added new code generator System.Text.Json and JSON data serialization system.
  • Blazor, the C# web app framework, adds support for rendering Razor components from JavaScript and integrating with existing JavaScript apps.
  • Added support for compiling .NET code into a WebAssembly view.
  • Support for symbolic links has been added to the File IO API. Completely written FileStream.
  • Added support for the OpenSSL 3 library and ChaCha20/Poly1305 cryptographic algorithms.
  • The Runtime implements W^X (Write XOR Execute) and CET (Control-flow Enforcement Technology) protection mechanisms.
  • Added experimental support for iOS and Android as TFM platforms (Target Framework Moniker).
  • Significantly improved support for Arm64 systems. Added support for Apple devices based on M1 (Apple Silicon) ARM chip.
  • A process for building the .NET SDK from source has been provided, making it easy to build c .NET packages for Linux distributions.

Add a comment