Featured image: .NET 5

We're excited to announce the general availability of .NET 5.0 on Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, and Red Hat OpenShift Container Platform.

What's new

.NET 5.0 is the successor of .NET Core 3.1, and supersedes .NET Framework as the preferred target platform for building Windows Forms and WPF applications.

.NET 5.0 includes new language versions C# 9 and F# 5.0. Significant performance improvements were made to the base libraries, GC and JIT. The ASP.NET Core framework has many great new features and improvements, like improved gRPC and Blazor performance, and enabling OpenAPI by default.

Install .NET 5.0

.NET 5.0 can be installed on RHEL 7 with the usual:

# yum install rh-dotnet50

On RHEL 8, enter:

# dnf install dotnet-sdk-5.0

The .NET 5.0 SDK and runtime container images are available from the Red Hat Container registry. You can use the container images as standalone images and with OpenShift:

$ podman run --rm registry.redhat.io/ubi8/dotnet-50 dotnet --version
5.0.100

Support

.NET 5.0 is a current release. It is scheduled for support until January 2022, three months after the .NET 6.0 release in November 2021. .NET 6.0 will be a long-term support (LTS) release, supported for three years. The previous LTS releases, .NET Core 2.1 and .NET Core 3.1, are supported until August 21, 2021 and December 3, 2022, respectively.

Visit the .NET overview page to learn more about using .NET on Red Hat Enterprise Linux and OpenShift.

Last updated: February 5, 2024