Featured image for .NET

.NET 6 is now generally available on Red Hat Enterprise Linux (RHEL) 7, RHEL 8, and Red Hat OpenShift. Here's a quick overview of what developers need to know about this new major release.

New features in .NET 6

In addition to x64 architecture (64-bit Intel/AMD), .NET is now also available for ARM64 (64-bit ARM), and s390x (64-bit IBM Z) architectures.

.NET 6 includes new language versions C# 10 and F# 6.

ASP.NET Core adds a new minimal API that leverages new C# 10 features to write web applications with less code.

Like previous versions, .NET 6 brings many performance improvements to the base libraries, GC and JIT.

.NET 6 introduces source generators for logging and JSON. Thanks to these generators, JSON serialization and logging can be performed with less allocation and better performance.

How to install .NET 6

You can install .NET 6 on RHEL 7 (x64 only) with the usual command:

# yum install rh-dotnet60

On RHEL 8 (for x64, arm64, and s390x), enter:

# dnf install dotnet-sdk-6.0

The .NET 6 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 on all supported architectures:

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


Long-term support for .NET 6

.NET 6 is a long-term support (LTS) release. It will be supported for three years, until November 2024.

Based on the .NET release schedule, the next version of .NET, .NET 7, is not an LTS release. It will be released in November 2022 and supported for 18 months until May 2024.

The next LTS release is .NET 8, which will be released in November 2023.

The existing .NET Core 3.1 and .NET 5 releases will be supported until December 2022 and May 2022, respectively.

Where to learn more

Visit the .NET overview page to find out more about using .NET on Red Hat Enterprise Linux and OpenShift. You can also explore more .NET resources on Red Hat Developer: