.NET on Red Hat Enterprise Linux
The .NET on Red Hat Enterprise Linux cheat sheet covers how to install .NET on RHEL, get a simple program running, and run a program in a Linux container.
The .NET on Red Hat Enterprise Linux cheat sheet covers how to install .NET on RHEL, get a simple program running, and run a program in a Linux container.
Learn about 5 new features that improve C# applications, including UTF-8 string literals, file-scoped types, generic attributes, and ref fields. (Part 3 of 3)
Learn how to debug .NET applications running with VS Code in local containers at Red Hat Developer. This tutorial lets you debug applications on development machines.
Use Helm to create sets of resources on Kubernetes or Red Hat OpenShift clusters. Get a full visual of deploying a .NET application with Helm in this guide.
Get a high-level overview of Linux containers and .NET Core, then see a couple of ways to build and containerize .NET Core applications for Red Hat OpenShift.
Learn how to use OpenAPI to describe the APIs provided by an ASP.NET Core service, then use the API description to generate a strongly-typed client.
Learn how to fix a "It works on my machine" NET Core (C#) "Unable to obtain lock file access" error on Red Hat OpenShift.
Tom Deseyn shows how you can capture events from the .NET Core runtime and BCL using EventListener, dotnet-trace, and EventPipe environment variables.
We'll go over the basics of the .NET process class in .NET Core 3.0 and cover a few differences in usage between Windows and Linux.
We look at new features of .NET Core for Linux, including improved performance and support for building Windows desktop applications.
We walk through the steps of implementing a CI/CD process for .NET Core in Red Hat OpenShift Container Platform (OCP).
Charlotte delivered this lightning talk at Red Hat Summit 2017.
Omair explains .NET Core versions and components at Red Hat Summit 2017 in this lightning talk.
A lightning talk from Red Hat Summit 2017. Here is the transcription:
[00:11] I have a VM here. Let me just run the .NET command to show you. It's not there, so we're going to install .NET on RHEL. The first thing I'm going to do is become Super User, otherwise I have to type pseudo for every command and that's just a hassle.
[00:33] I'm just going to copy and paste the commands here. The point isn't that I type out every command, the point is that you see it's only a couple of commands to get it installed. The first thing I'll do is get my subscription manager attached to the correct pool of RPMs, that's the packages I pulled down.
[00:49] When you install .NET on RHEL you're getting the package from Red Hat. You're not getting it from Microsoft. We get the source code from Microsoft and then we build it to run on RHEL. Red Hat packages are, I like to say vetted. That is, we test them and make sure they work really well so you're not just pulling down software and hoping it works.
[01:12] Now I'm going to enable the repo. I've attached to it and now I have to enable it. Notice at the end where it says, "RHEL 7 Server..." There's also a work station, and there's also one for an HP [high performance] special computing thing that I'm not really familiar with. The point is you're probably going to use a RHEL server to install .NET.
[01:26] One of the cool things about the new .NET core as opposed to the old one is the new .NET is much smaller. Whereas before, when you installed .NET, you would drop in a DVD, or a CD, and wait forever for it install, and you would get 4 gigabytes of .NET. Now it's just a couple hundred megabytes.
[01:49] I'm going to YUM install this scl utils. It doesn't matter what they do. They just enable installation. Let's just leave it at that. There's nothing to do because I've done that before, but that's OK. It's better to have nothing to do than to skip the step.
[02:08] Now here's the actual install itself. I want you to notice it's just a command line and it's a YUM installed .NET core 1.1, which is version 1.1. It's going to go up to the inner webs and pull down everything it needs to install it.
[02:17] Your limiting factor here is going to be your Internet speed. Other than that, that's it for installing .NET. It really is that small and that fast. After it's installed, you have to enable it to be available in Bash. Once that's done, we'll bring it up and we'll see .NET.
[02:36] One final step here. In just a few minutes we went from not having .NET...I don't know if I can copy and paste here, bear with me.
[02:47] It's enabled. Now we should have .NET command available. There it is. We'll do a .NET new which will create a new program. The first time you do a .NET new it's going to run this little expand. That might be considered the final step of installing .NET, that's it. That's all you have to do to install .NET, that's it.
Thank you.