.NET

.NET Core
Article

Securing .NET Core on OpenShift using HTTPS

Tom Deseyn

This post describes how to secure ASP.NET Core applications on OpenShift using HTTPS for two use-cases: terminating SSL in OpenShift for public routes and terminating SSL in ASP.NET Core directly using OpenShift-generated service certificates.

Topic Thumbnail
Topic

.NET Core for Linux

Microsoft's decision to make .NET Core open source and cross-platform means it's

Red Hat OpenShift
Article

Running Microsoft SQL Server on Red Hat OpenShift

Tom Deseyn

This article shows how set up Microsoft SQL Server on Red Hat OpenShift and then use SQL Server to store data for a simple ASP.NET Core application running in a container deployed on OpenShift that manages a list of contacts. It also shows how to manage SQL Server within OpenShift using SQL Operation Studio.

.NET Core
Article

Improving .NET Core Kestrel performance using a Linux-specific transport

Tom Deseyn

Kestrel, the web server in the .NET Core, supports replacing the network layer. This article benchmarks Kestrel’s networking layer with a Linux-specific implementation to achieve measurable performance gains compared to the out-the-box implementation.

Red Hat OpenShift
Article

How to call the OpenShift REST API from C#

Takayoshi Tanaka

In this article, I show how you can call the Red Hat OpenShift REST API from your C# code, which is useful for automating tasks. Visual Studio is used to take the REST API definition and create a library you can use in your code. Also shown is how to handle the conversion needed for the JSONpath components.

Red Hat OpenShift
Article

Using OpenShift to deploy .NET Core applications

Tom Deseyn

Containers are the new way of deploying applications. They are an efficient way to portably deploy applications across clouds and different OSes.This article looks at what OpenShift brings for .NET Core specifically and how OpenShift provides a DevOps platform on top of Kubernetes for building and deploying apps.

.NET Core
Article

Announcing .NET Core 2.1 for Red Hat Platforms

Bob Davis +1

We are very pleased to announ ce 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...

.Net Core
Article

Using .NET Core in a "Disconnected" Environment

Rick Wagner

For added security, .NET Core applications that require access to external libraries can be run in a disconnected environment (one without internet access). Here's how.

Red Hat Summit: Developing .NET Core Apps on Red Hat OpenShift
Article

Red Hat Summit: Developing .NET Core Apps on Red Hat OpenShift

Rob Terzi

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.

.NET Core
Article

Developing .NET Core 2.0 Web Applications on OpenShift

Roland Grunberg

Today we're going to create a .NET Core 2.0 Web Application using the JBoss Developer Studio and the aCute plugin (C# application development). We'll deploy our application onto an OpenShift instance and continue to modify it while viewing the changes almost instantly. Although the initial setup will be quite involved, it will only need to be done once. You might imagine that the normal workflow for this would be: Make local changes. Commit + push them to version control. Either...

First steps in integration of Windows and Linux Containers in Red Hat OpenShift
Article

First steps in integration of Windows and Linux Containers in OpenShift

Glenn West

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. So, I start this off, with the deployment of an OpenShift Cluster on Azure, using the 3.6 reference architecture. After this is run, I used the Azure Portal to add a Windows Server 2016 Node to the cluster. So if you look closely...

Remote debug your ASP
Article

Remote debug your ASP.NET Core container on OpenShift with Visual Studio Code

Takayoshi Tanaka

Visual Studio provides a graphical remote debugging ASP.NET Core app with Docker Tools for Windows. Since Visual Studio supports SSH protocol, you can remote debug ASP.NET Core process running on the Linux host. It used to be if you install and setup SSH server on docker container, you can remote debug with Visual Studio. However, it's strongly not recommended due to security reasons. Now I'll explain to you how to remote debug your ASP.NET Core on OpenShift with Visual Studio...

.Net Core
Article

ASP.NET Core Hello World Explained

Tom Deseyn

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...

Article Thumbnail
Article

Running a NuGet server on OpenShift

Takayoshi Tanaka

When you build your .NET Core project, NuGet packages are retrieved from nuget.org by default. Sometimes, however, you might want to use a local NuGet repository. For example, you may want to: use private NuGet packages, but you don't want anyone except your associates to see them. cache a NuGet repository at a server near your build servers leave your build server disconnected from the Internet. I'll explain how to set up a private NuGet server on OpenShift and how...

.NET Core
Article

Connecting .NET Core to D-Bus

Tom Deseyn

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. Higher-level bindings are available for various popular frameworks and languages. Tmds.DBus is a .NET implementation. The library is based on dbus-sharp/ndesk-dbus, which target Mono/.NET 2.0. Tmds.DBus leverages async/await (Task-based asynchronous pattern) introduced in .NET 4.5/C# 5.0. The library targets netstandard1.5 which...

.NET Core
Article

Red Hat to sponsor .NET Conf virtual conference - Sept 19-21

Mike Guerette

I am pleased to share that Red Hat is a co-sponsor of .NET Conf this year! .NET Conf September 19-21 ONE WEEK FROM TODAY: .NET Conf is a free, live streamed, 3-day virtual developer event organized by the .NET community. Learn to build for web, mobile, desktop, games, services, libraries and more for a variety of platforms and devices all with .NET. Save the date and tune in! I expect a lot of topics will be around .NET Core 2.0...

.NET Core
Article

Using .NET Core 2.0 and RHEL in Linux Containers

Don Schenck

.NET Core 2.0 represents the maturation of the .NET Core development effort. This, the third release (previous releases being version 1.0 and 1.1), brings nearly 20,000 more APIs and a much richer and deeper developer experience. To put it in the vernacular, .NET Core is ready for prime time. This blog post will show you the critical steps and configurations necessary to use .NET Core 2.0 running on RHEL inside your Linux containers. The Challenge Beginning with .NET Core 2.0...

.NET Core
Article

Quick Introduction of .NET Core 2.0

Don Schenck

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. You Get An API, Everyone Gets An API What's the big deal about .NET Core 2.0? Well for...

.NET Core
Article

Red Hat Releases .NET Core 2.0

Bob Davis

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...

Article Thumbnail
Article

.NET Core 2.0 - Frequently Asked Questions

mguerett

INTRODUCTION What has Red Hat announced? Red Hat has announced that .NET Core 2.0, an open source major release with significant improvements over the 1.0 and 1.1 releases, is now generally available for Red Hat Enterprise Linux, OpenShift Container Platform, and related platforms. This release brings .NET Core much closer to being aligned with the traditional .NET Framework, with massively expanded API support for .NET Standard 2.0 and far better support for NuGet packages. This release improves the experience of...

.NET Core
Article

Introduction to NuGet with .NET Core on RHEL

Dave Mulford

Introduction to NuGet with .NET Core NuGet is an open source package manager for the .NET Core ecosystem. For those familiar with Red Hat Enterprise Linux (RHEL), you can think of it as the “yum” for pulling libraries into your .NET Core project. Working with NuGet packages in .NET Core applications is accomplished primarily through your project’s .csproj file and the dotnet command-line interface. Repositories Just like RHEL, NuGet has its own repositories to get packages. By default, when the...

.NET Core
Article

Microsoft releases .NET Core 2.0

Mike Guerette

After a number of months with .NET Core 2.0 previews, Microsoft has released .NET Core 2.0. Very exciting for the open source world! If you've not seen Scott Hunter talk about today's announcement, see it here. Red Hat has been offering .NET Core 1.1 for a while now, and we expect many customers to be interested in 2.0. Stay tuned for more.

Advanced Microservices with .NET
Article

Advanced Microservices with .NET

Don Schenck

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...