Microsoft .NET 6 is officially released

Microsoft officially released .NET 6 and a series of content last night, launching C# 10, F# 6 and PowerShell 7.2, .NET 6 is restored to support the Apple M1 chip, will get three years of support.

.NET 6 Highlights:

  • Production stress tests were conducted using Microsoft services, cloud applications run by other companies, and open-source projects.
  • Supported for three years as the latest long-term support (LTS) version.
  • A unified platform across browsers, cloud, desktop, IoT and mobile applications, all applications use the same .NET library and the ability to easily share code.
  • Overall performance is improved, especially file I/O, which reduces execution time, latency and memory usage.
  • C# 10 provides language improvements, such as record structure, implicit use, and new lambda features, while the compiler adds an incremental source generator.
  • F# 6 adds new features, including task-based asynchrony, pipeline debugging, and numerous performance improvements.
  • Visual Basic has been improved in the Visual Studio experience and the Windows Forms project opening experience.
  • Hot reloading allows users to skip rebuilding and restarting the application to see the new changes supported in Visual Studio 2022 and .NET CLI, suitable for C# and Visual Basic.
  • Cloud diagnostics have been improved through OpenTelemetry and don’t monitor, and are now supported in production and can be used for Azure App Service.
  • JSON API is more powerful, has higher performance, source generator with a serializer.
  • The minimal API is introduced in ASP.NET Core to simplify the onboarding experience and improve the performance of HTTP services.
  • Blazor components can now be rendered from JavaScript and integrated with existing JavaScript-based applications.
  • WebAssembly AOT compilation for Blazor WebAssembly (Wasm) applications, and support for runtime relinking and native dependencies.
  • Single-page applications built with ASP.NET Core now use a more flexible model that can be used with Angular, React, and other popular front-end JavaScript frameworks.
  • HTTP/3 has been 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 through the rewritten FileStream.
  • By supporting OpenSSL 3, ChaCha20Poly1305 encryption schemes and runtime defense-in-depth mitigation measures, especially W^X and CET, security has been improved.
  • Single-file applications (without extraction) can be released for Linux, macOS, and Windows (previously only available for Linux).
  • IL trimming is now more powerful and effective, and new warnings and analyzers ensure correct final results.
  • A source code generator and analyzer have been added to help users 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.

Join RealMi Central on Telegram, Facebook & Twitter

.NET 6 includes about 10,000 git commits, so there are too many updates to list them all. NET 6 is a long-term support (LTS) version that will support three years, including macOS Apple Silicon and Windows Arm64. In addition, Red Hat worked with the .NET team to support .NET on Red Hat Enterprise Linux. On RHEL 8 and later, .NET 6 will be available for AMD and Intel (x64_64), ARM (aarch64), and IBM Z and LinuxONE (s390x) architectures.

Currently, Visual Studio 2022 and Visual Studio 2022 for Mac support .NET 6, and Visual Studio Code C# extension also supports .NET 6.

Leave a Comment