Visual Studio 2022 and .NET 6 Now Generally Available

Microsoft has announced the general availability of VS 2022 and .NET 6, both of which are now available for download.

Microsoft has announced the general availability of Visual Studio 2022 and .NET 6, both of which are now available for download.

2022 is the first 64-bit release of Visual Studio and leverages modern hardware in order to reliably scale to larger, more complex projects. In early Visual Studio 2022 trials users were able to run the IDE for days, even with solutions containing over 700 projects.  

The two main themes of release 2022 are developer productivity and quality-of-life improvements. The new release brings an AI-assisted tool - IntelliCode, that can complete whole lines of code and spot repeated edits and suggest similar fixes throughout the codebase.

Hot Reload for .NET and C++ feature enables programmers to update their code and see changes immediately, have your app running. You will not require to redeploy and launch your application. Other highlights include improvements in the debugger and .NET language service, and new features, like Web Live Preview and cross-platform testing on Linux.

Microsoft said that Visual Studio 2022 is for "every developer, from apps built with Windows Forms and Win32, to Blazor, to cloud-native applications based on containers, to applications that use ML."

Regarding .NET 6 Microsoft said that it is the first .NET release that natively supports Apple Silicon and has also been improved for Windows Arm64. F# 6 deliver and C# 10 language deliver enhacements that make the code simpler and better. 

Support: .NET 6 is a LTS release and will be supported for three years. Red Hat supports .NET on Red Hat Enterprise Linux. On RHEL 8 and later, .NET 6 will be available for the AMD and Intel (x64_64), ARM (aarch64), and IBM Z and LinuxONE (s390x) architectures.

.NET 6 is supported with VS 2022, VS Code C# extension and VS 2022 for Mac.  In .NET 6 Azure Functions supports running serverless functions. Azure Static Web Apps also now supports full-stack .NET 6 apps with Blazor WebAssembly frontends and Azure Function APIs.

Unified and extended platform: Though .NET 5 is the first major deliverable on the road toward unifying .NET, you will see more magic happening in .NET 6. In .NET 6 the underlying platform has been updated to serve the needs of all app types; for browser, cloud, desktop, IoT, and mobile apps; and to make it easy to re-use code across all your apps. "New capabilities and improvements are available to all apps at the same time, so that your code running in the cloud or on a mobile device behaves the same way and has the same benefits." wrote Microsoft

Some of the new features in .NET 6 include:

  • Hot Reload - enables you to see code changes without needing to restart the app
  • OpenTelemetry and dotnet monitor support to Cloud diagnostics
  • Blazor components can now be rendered from JavaScript and integrated with existing JavaScript based apps.
  • Enhancements to Visual Basic in the Visual Studio experience and Windows Form project experience
  • WebAssembly AOT compilation for Blazor WebAssembly apps
  • HTTP/3 support in ASP.NET Core, HttpClient, and gRPC
  • Symbolic links support in File IO
  • Support for OpenSSL, runtime defense-in-depth mitigations, and the ChaCha20Poly1305 encryption scheme
  • Addition of Source generators and analyzers

For more details, you can visit the official announcement here.