Getting started with .NET
Runtimes and APIs for building and running .NET applications on Linux and in containers.
Getting started on RHEL
These steps show how to install .NET 8.0 on RHEL and use the SDK to create and run a console application:
1. Install .NET 8.0
$ sudo yum install dotnet-sdk-8.0 -y
2. Create a new console application in a directory called hello-world
$ dotnet new console -o hello-world
3. Run the application
$ cd hello-world
$ dotnet run
Hello World!
Migrating from .NET Framework
Developers can use the ApiPort tool to evaluate their current .NET code.