Microsoft Releases .NET 6 And Visual Studio 2022
Written by Kay Ewbank   
Wednesday, 10 November 2021

Microsoft has released .NET 6 and Visual Studio 2022. .NET 6 is a Long Term Support release, while Visual Studio 2022 promises developer productivity improvements.

The improvements to .NET 6 include support for macOS Apple Silicon and Windows Arm64 for the first time, improvements to C# 10 and F# 6, as well as what the team describes as "massive gains in performance". .NET was created from a combination of .NET Framework and .NET Core.


The C# 10 improvements start with simplification, with new features to make programs even shorter, as short as a single line. Most of the .NET SDK templates have been updated to deliver the much simpler and more terse experience that is now possible with C# 10. These moves aren't universally popular because they are seen as dumbing down C#, but Microsoft says that:

"The new model is equally intended and equally appropriate for students as professional developers."

There are several other features and improvements in C# 10, including record structs. C# 9 introduced records as a special value-oriented form of classes. In C# 10 you can also declare records that are structs.

dotnet unified platform

F# 6 has also been improved along the same lines, to be simpler and more performant. This applies to the language design, library, and tooling. The team says:

"Our goal with F# 6 (and beyond) was to remove corner-cases in the language that surprise users or present hurdles to learning F#."

More generally, performance improvements include Hot Reload, which can be used to make a wide variety of code edits to a running application. Hot Reload is available through the dotnet watch CLI tool and Visual Studio 2022. You can use Hot Reload with a large variety of app types such as ASP.NET Core, Blazor, .NET MAUI, Console, Windows Forms (WinForms), WPF, WinUI 3, Azure Functions, and others.

There's a new dynamic profile-guided optimization (PGO) system intended to optimize at runtime, and cloud diagnostics have been improved. WebAssembly support is described as more capable and performant, and new APIs have been added for HTTP/3, processing JSON, mathematics, and directly manipulating memory. .NET 6 will be supported for three years.

The Visual Studio improvements have been focused on the edit and debug cycle.

These start with IntelliCode, a set of AI-assisted development tools that attempt to work out what you're going to type and complete the code for you. IntelliCode will now complete whole lines of code for you, and will spot repeated edits and suggest fixes throughout your codebase where there are similar patterns. It currently supports C#, C++, TypeScript/JavaScript, or XAML in Visual Studio 2022.

The debugger and .NET language service have also been improved, and there are new features such as Web Live Preview and cross-platform testing on Linux.

Perhaps most importantly, this is the first 64-bit release of Visual Studio.

Both .NET 6 and Visual Studio 2022 are available for download now.


More Information

Download .NET 6

Visual Studio 2022

Related Articles

Developer Preview Of .NET 6 Released

Visual Studio 2022 Preview 2 Targets Productivity

Visual Studio 2022 Will Be 64-bit

Microsoft Aims For Better Visual Studio Extensions  

Visual Studio Preview 2 Revamps Git Functionality

New In Windows Forms .NET

.NET 5 Ready For Action

.NET Is One With .NET 5

Have Your Say On .NET For Spark



To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


More Jetpack Compose Updates

The July release of Android Jetpack Compose has some improvements and it is faster, but is it what we want?

CDN Serves Malware - 100,000 Polyfill Users At Risk

Back in the day, before modern JavaScript was all grown up, a lot of us resorted to polyfills to make up for browsers not supporting the very latest features. It looks as if that choice is coming to b [ ... ]

More News

kotlin book



or email your comment to:

Last Updated ( Wednesday, 10 November 2021 )