OpenShift #1 - Running .Net Core Apps on OpenShift

OpenShift is Red Hat’s application hosting platform that makes it easy for developers to quickly build, launch, and scale container-based apps. Since this year, Red Hat also supports .NET Core 2.1, which brings us all the cool features of NET Core 2.1 and ASP.NET Core 2.1 to OpenShift.

Using async main in .NET Core

Recently, I’ve tried to run a .NET Core console app with an async main method. The main method simply calls an async method using async and await. The program was quite simple and looked like the following sample:

Docker Applikationen mit Visual Studio Code debuggen

Mit dem integrierten Debugger von Visual Studio Code lassen sich ASP.NET Core bzw. .NET Core Applikationen einfach und problemlos debuggen. Der Debugger unterstützt auch Remote Debugging, somit lassen sich zum Beispiel .NET Core Programme, die in einem Docker-Container laufen, debuggen.