ASP.NET Core Hello World Explained

Most books teaching C# start with a ‘Hello World’ application. This simple program is used to explain concepts like namespaces, classes, Main and Console.WriteLine. When every line of the code has been dissected, it’s clear how it works.

It’s less obvious for an ASP.NET Core application. We are no longer invoking our code; instead, the ASP.NET Core framework is doing that for us. In this blog post, we’ll look at a simple ASP.NET Core application and explain how ASP.NET Core makes it tick.

Continue reading “ASP.NET Core Hello World Explained”

Share

Red Hat Releases .NET Core 2.0

As a follow-up to yesterday’s press release, I am pleased to announce the immediate availability of and support for .NET Core 2.0, the latest version of the open source .NET Core project, on Red Hat’s portfolio of open technologies. A lightweight and modular platform for creating web applications and microservices, .NET Core 2.0 provides significant new developer capabilities while enabling developers to create .NET applications across platforms, and deploy on Red Hat Enterprise Linux, Red Hat OpenShift Container Platform, and more.

Continue reading “Red Hat Releases .NET Core 2.0”

Share

Advanced Microservices with .NET

During Red Hat Summit, this past May I along with Scott Hunter from Microsoft took part in a session titled Microservices and OpenShift with .NET Core and .NET Standard 2.0.  I went first and talked about building microservices.

This was an overview demonstrating the evolution through running a program at a command line, a .NET Core program in RHEL. Once completed I then showed just how easy it was to take the image and put into OpenShift and scale it up and down by running it through Docker.

Continue reading “Advanced Microservices with .NET”

Share

.NET Core Magic: Develop on one OS, run on another

I recently attempted to write a blog post about Angular and .NET Core 2.0 [Note: It will be posted as soon as the .NET Core 2.0 RPMs are released], using my Red Hat Enterprise Linux (RHEL) VM as the operating system. Even though the .NET Core 2.0 bits are not available yet from Red Hat, I gave it a shot by using a daily build. When I tried to run the code, however, I got an error related to the Roslyn compiler. Sometimes, when you play with fire — i.e. a daily build — you get burned.

And that’s when the creative juices, combined with the knowledge of .NET Core’s Self-contained deployment technology (you might also see it referred to as a “Standalone app”) came to the rescue.

Continue reading “.NET Core Magic: Develop on one OS, run on another”

Share