This document is a getting started guide for .NET Core 2.1. It introduces the new features of .NET Core 2.1 and provides instructions for installing and using it.
This guide describes how to install .NET Core 2.1 on Red Hat Enterprise Linux 7 and OpenShift Container Platform versions 3.3 and later. It covers registering RHEL, enabling the .NET Core channel, installing the rh-dotnet21 Software Collection, and verifying the installation.
It also explains creating console and ASP.NET Core applications, publishing them as framework-dependent or self-contained deployments, running applications on Docker, and migrating from previous versions of .NET Core or .NET Framework to .NET Core 2.1.
| Supported operating system | Red Hat Enterprise Linux 7 |
|---|---|
| Supported container platform | OpenShift Container Platform 3.3 and later |
| .NET Core SDK version | 2.1.300 |
Install .NET Core 2.1 and all of its dependencies using the command sudo yum install rh-dotnet21 -y.
Run the command dotnet --info to verify the installation succeeded.
Red Hat recommends publishing by framework-dependent deployment (FDD) for RHEL.