Containers are the new way of deploying applications. They provide an efficient mechanism to deploy self-contained applications in a portable way across clouds and OS distributions. In this blog post we’ll look at what OpenShift brings for .NET Core specifically.
Continue reading Using OpenShift to deploy .NET Core applications
We are very pleased to announce the general availability of .NET Core 2.1 for Red Hat Enterprise Linux and OpenShift platforms!
.NET Core is the open-source, cross-platform .NET platform for building microservices. .NET Core is designed to provide the best performance at scale for applications that use microservices and containers. Libraries can be shared with other .NET platforms, such as .NET Framework (Windows) and Xamarin (mobile applications). With .NET Core you have the flexibility of building and deploying applications on Red Hat Enterprise Linux or in containers. Your container-based applications and microservices can easily be deployed to your choice of public or private clouds using Red Hat OpenShift. All of the features of OpenShift and Kubernetes for cloud deployments are available to you.
.NET Core 2.1 continues to broaden its support and tools for microservice development in an open source environment. The latest version of .NET Core includes the following improvements:
Continue reading “Announcing .NET Core 2.1 for Red Hat Platforms”
Last year, I wrote a blog post how to remotely debug your ASP.NET Core container on OpenShift with Visual Studio Code. Today I introduce how to remotely debug a pod using Visual Studio from your Windows computer. Sometimes you encounter an issue that happens only in the production environment. Remotely debugging a pod enables you to investigate such an issue.
Visual Studio and Visual Studio Code now support SSH as a transport protocol for remote debugging. If a remote host accepts an SSH connection, Visual Studio can do remote debugging using Visual Studio’s default feature. However, you need to use the
oc command instead of an SSH client such as putty since Red Hat OpenShift pods don’t allow direct connections via SSH. The MIEngine debugger enables you to use any command for SSH connection.
All the steps below have been confirmed using a combination of Visual Studio 2017 (versions 15.7.2 and 15.8 preview2) on Windows 10 and OpenShift 3.9.
Continue reading “Remotely Debug an ASP.NET Core Container Pod on OpenShift with Visual Studio”
At Red Hat Summit 2018, Red Hat’s John Osborne and Microsoft’s Harold Wong gave a talk: Developing .NET Core Applications on Red Hat OpenShift.
.NET Core 1.0 availability for Linux was announced two years ago, but many developers still have a number of questions about the differences between .NET Framework and .NET Core. The session started with an overview of the differences. In a nutshell, .NET Framework is the set of APIs and libraries that Windows developers have used to years, which is pretty heavily tied to Microsoft Windows and Windows GUI APIs. On the other hand, .NET Core is the cross-platform set of APIs that are available for building applications that can run on Linux, macOS, or mobile devices via Xamarin. .Net Core 2.0 was released last August; see Don Schenck’s article.
One of the key questions is when to use one versus the other. Here’s the summary Harold Wong presented:
Continue reading “Red Hat Summit: Developing .NET Core Apps on Red Hat OpenShift”
I’ve started an interesting exploration on the integration of Microsoft Windows Containers and Linux Containers in an OCP Environment. This allows a true bi-modal IT technical implementation by combining the strength of both platforms into one cluster.
Continue reading “First steps in integration of Windows and Linux Containers in OpenShift”
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”
D-Bus is a Linux message bus system. Many system daemons (like systemd, PulseAudio, bluez) and desktop services can be controlled via D-Bus. Some applications can be reached via the global system bus and others are on a per-user-login-session bus.
Continue reading “Connecting .NET Core to D-Bus”
If you’ve been in IT for more than just a few years, you’ve probably heard the phrase “Wait until the third release” before jumping into a new technology or product. Well, .NET Core had version 1.0 and version 1.1. So here it is, the third release: Introducing .NET Core 2.0. And believe me, now is the time to jump on this bandwagon.
Continue reading “Quick Introduction of .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”
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”