News

.NET 6 Is Here

Microsoft shipped .NET 6, the culmination of a massive unifying effort to transform the Windows-only, proprietary .NET Framework into one open source, cross-platform development offering for all types of .NET projects.

So .NET Core 2.0 arrived in 2017 as an open source, cross-platform alternative to .NET Framework, and then last year the "Core" moniker was dropped in favor of just .NET 5, .NET 6 and so on going forward.

Microsoft's Themes of .NET site provides a high-level view of .NET 6:
Themes of .NET
[Click on image for larger view.] Themes of .NET (source: Microsoft).

With the recent additions of machine learnings and WebAssembly (which allows for .NET apps in the browser), the platform can now be used for web, mobile, desktop, games and Internet of Things (IoT) projects.

However, the umbrella "just one .NET going forward" arrival has been late in coming.

The unification effort was supposed to happen with .NET 5 a year ago, but the pandemic slowed things down and tricky development problems plagued some projects.

Also, that unification effort still isn't done, with some lagging components and functionality. For example, mobile is being brought into the fold with .NET MAUI (.NET Multi-platform App UI) -- described as an evolution of Xamarin.Forms because the desktop was added as an app target along with iOS and Android -- but it "slipped the schedule" and "will be released a little later than .NET 6."

For the desktop, the Windows App SDK (formerly called Project Reunion) is meant to alleviate the complexity of Windows app development that was caused by the emergence of two disparate sets of APIs: for the older Win32 platform and the newer Universal Windows Platform (UWP).

Microsoft announced .NET 6 in a gargantuan blog post of more than 16,000 words, in which .NET program manager Richard Lander started out by touting:

"Welcome to .NET 6," Lander said. "It is another huge .NET release, with near-equal servings of performance, functionality, usability, and security improvements. We hope you find many improvements that end up making you more efficient and capable in your every-day development and increase performance or reduce the costs of your apps in production. We've already started hearing good things from those among you have already started to use .NET 6."

Along with all the new features and capabilities, one important aspect of .NET 6 is that it's a long-term support (LTS) release, guaranteed to be supported for three years or for one year after the next LTS release is shipped, whichever is longer.

The .NET Release Cadence
[Click on image for larger view.] The .NET Release Cadence (source: Microsoft).

Of course, more than 16,000 words can't be distilled into much of a tl;dr, but Lander provided this bullet-point summary of the huge development effort, reportedly involving some 10,000 git commits from 1,000 or more developers from Microsoft and the community:

.NET 6 is supported with Visual Studio 2022, which also shipped today, and Visual Studio 2022 for Mac, but not Visual Studio 2019, Visual Studio for Mac 8 or MSBuild 16. "If you want to use .NET 6, you will need to upgrade to Visual Studio 2022," Lander said. That works because VS 2022 also reached GA today.

In Visual Studio Code, .NET 6 is supported with the C# extension in the VS Code Marketplace.

"Developers have already started upgrading applications to .NET 6 and we've heard great early results in production," Lander said. ".NET 6 is ready for your app."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube