The next iteration of the platform that Microsoft employs to give developers a framework for creating desktop and web apps is called.NET 9.
There are more recent and distinct versions of the platform that need to be installed manually, even though the stable and necessary version is already included in the operating system. Microsoft is working on.NET 9, which adds enhanced SignalR tracing, WebSocket APIs, new compression choices, improvements to MAUI for better text alignment, and much more.
The software behemoth has released the first candidate as of this writing and intends to release a second candidate prior to launching the final version. To view the debates and read the latest announcements, you may also visit the GitHub page.
You can use the Windows Package Manager (winget) or manually install DotNet version 9 from the official website if you wish to download the most recent version.
If you use Visual Studio, Microsoft advises installing the most recent Visual Studio 2022 preview, which will install.NET 9 immediately.
I’ll walk you through installing.NET 9 on Windows 11 (or 10) in this guide.
-
Install .NET 9 on Windows 11
-
Install .NET 9 from winget command
Install .NET 9 on Windows 11
Follow these instructions to install.NET 9 on Windows 11 (or 10):
Open.NET 9 on Windows.
In the.NET Desktop Runtime section, select the X64 option for Windows (recommended).
On the device, save the file.
To start the installer, double-click the downloaded file.
On the Install button, click.
Press the “Close” button.
The PC will have the updated.NET version installed after you finish the tasks.
Importantly, you can acquire the most recent version of the.NET SDK and other platform versions from the same download page.
Install .NET 9 from winget command
Use these procedures to swiftly install.NET 9 using the winget command:
LaunchStart.
Look up “Command Prompt,” then right-click on the first result and choose “Run as administrator.”
To install.NET 9 11 with Winget, type the following command and hit Enter:
The most recent version of DotNet will be downloaded and installed on your Windows 10 or 11 device by the Windows Package Manager after you have finished the procedures.
You can review the various platform versions by using the Winget search microsoft.dotnet command. Then, to install a particular feature, use the Id name with the Winget install –idcommand.
Additionally, Microsoft is showing off a new version of UWP (Universal Windows Platform) support for.NET 9 that includes upgrades to the Windows SDK, Visual Studio, DotNet tools and components, and more. This will enable you to use the most recent versions of C# and.NET to create apps.