The September 2021 .NET updates have been released by Microsoft. The new updates released are .NET 5.0.10 and .NET core 3.1.19. Each version includes non-security updates that improve the performance and reliability of the product.
According to Microsoft, .NET core 3.1.19 is currently being deployed to Azure App Services and will be completed by the end of this month (September 2021). Aside from that, both updates include similar updates to their packages.
Check out the difference between .NET and .NET Core.
Now let us take a closer look at what these updates bring to the table.
Improvements in .NET 5.0.10 and .NET Core 3.1.19
Both the .NET updates do not bring any new features for their users. However, it does bring more reliability and performance upgrades from which you may benefit.
Updated Docker Images
Microsoft is continually working to improve its Docker experience with each new release. With the following command, you can now run the latest release of .NET 5.0 within a container:
docker run --rm mcr.microsoft.com/dotnet/samples
To check out more examples of recent updates made to Docker images, click here. Furthermore, the following repositories have also been updated:
- dotnet/sdk: .NET SDK
- dotnet/aspnet: ASP.NET Core Runtime
- dotnet/runtime: .NET Runtime
- dotnet/runtime-deps: .NET Runtime Dependencies
- dotnet/samples: .NET Samples (Only in .NET 5.0.10)
Some further minor improvements have also been made. Here are the details:
- Support for repo-defined runtime.json for shared framework build has been added.
- The memory setting backport has been conserved to 5.0.
- Windows with TLS 1.3 enabled will now have a fixed validation callback.
- .NET Runtime is now included in the Windows Desktop Runtime installer for ARM64 devices.
Known issues with .NET 5.0.10
As with most software these days, .NET also comes with predetermined problems of its own.
- When reading from a NegotiateStream at EOF, the stream will throw rather than return 0 or -1.
- New Angular templates created via dotnet new CLI or new project UI in VS may fail to build due to an issue with the node-gyp install. Microsoft suggests upgrading the version of the node-sass dependency in ClientApp/package.json to 5.0.0 in order to mitigate the issue.
- While reating a new C# desktop app in Visual Studio 2019 version 16.8, the project may default to targeting the latest LTS SDK that is installed, while ignoring the previous versions.
- Users may experience design time build failures and dependency node warning icons when targeting netcoreapp2.1 and specifying a RuntimeIdentifier in the project file.
PropertyGridvalues may be rendered at incorrect locations.
- Users may no longer be able to specify an image for a
ListViewGroupin the Designer using either
For detailed workarounds for these issues, read Microsoft’s post on known issues for .NET 5.0.10.
Known issues with .NET Core 3.1.19
There are a number of known issues with 3.1.19 that have been going on since the release of previous versions. However, the main ones are highlighted below:
- An issue with running.NET Core 3.1 applications on Ubuntu 20.10 or 20.04.
- Install Visual Studio 16.4 Preview 2 may uninstall.NET Core 3.0 when installed with the .NET Core 3.1 SDK, which may need to be reinstalled.
Other issues are mostly targeted to previous versions, but users may experience them with this release as well. To learn more, read Microsoft’s post about known issues for .NET Core 3.1.19.
Supported Operating Systems/Requirements
.NET 5 can be installed on Windows 10 v1703 or higher. This is because it is only compatible with Visual Studio 2019 16.8 and above. Since the mentioned Visual Studio 2019 is only compatible with the following Operating Systems, the .NET 5.0.10 also only supports the following variants of Windows and Server:
- Windows 10 version 1703 or higher. Editions: Home, Professional, Education, and Enterprise (LTSC and S are not supported)
- Windows Server 2019. Editions: Standard and Datacenter
- Windows Server 2016. Editions: Standard and Datacenter
- Windows 8.1 (with Update KB2919355). Editions: Core, Professional, and Enterprise
- Windows Server 2012 R2 (with Update KB2919355). Editions: Essentials, Standard, Datacenter
- Windows 7 SP1 (with latest Windows Updates) Editions: Home Premium, Professional, Enterprise, Ultimate
Moreover, binaries are also available for x86, x64, ARM64, macOS, and Linux systems.
In the case of .NET Core 3.1.19, Visual Studio 2019 16.4 or above is required to be able to use all functions to the fullest. However, the operating systems will be the same as for .NET 5.0.10.
Download .NET 5.0.10
Use the direct download links below to download the .NET 5.0.10 Runtime and SDKs, according to your operating system and bit architecture:
More download and install options here.
If you want to download ASP.NET Core Runtime 5.0.10, use the links below:
Download .NET Core 3.1.19
More download and install options here.
If you want to download ASP.NET Core Runtime 3.1.19, use the links below:
Install .NET 5.0.10 & .NET Core 3.1.19
Now that you have downloaded the respective installation package, you can begin to install it. The installation of the .NET is an easy process. Download the file from the links provided above and execute it for installation.
Once you have installed it, all your applications will run using the new build as the previous version will be replaced.
- Run the installation package by double-clicking it (in the case of macOS and Windows), and then clicking Install on the installation wizard.
- The installation will now begin. It does not take much time nor does it require a restart. Click Close once it has been installed successfully.
You have now installed the .NET. You may check which .NET version is running by typing in the following command in Command Prompt:
wmic product get description | findstr /C:.NET
In general, it is recommended that you update your applications to the latest version of the .NET. If you were previously using it to develop your applications Upgrade Assistant. Microsoft Upgrade Assistant is a program designed to assist developers in upgrading their existing applications to support newer versions of .NET and its features.
Furthermore, installing the latest versions of .NET and .NET Core will improve the performance and reliability of your programs. Thus, we suggest upgrading your .NET version using the provided guide.