What is the current .NET version on an Azure App Service

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

I have an App Service here (currentdotnetversion) that shows the output of the current (when I wrote this article) .NET version using C# code.  Here is a partial code snippet: I took the code from here and I got the Microsoft.Win32 assembly via a NuGet package, see Figure 1. Figure 1, where to get the…

0

How to check the version of .NET Core on an Azure App Service

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

If you would like to check the version of .NET core installed on the Azure App Service platform you can execute the following command from KUDU/SCM, which i discuss further here.  Also show in Figure 1. Figure 1, how to check .NET Core version, which .NET Core version is running on Azure App Service You…

0

TLS on Azure App Services

SSL TLS Certificate Benjamin Perkins
SSL TLS Certificate Benjamin Perkins

I wrote this article some time ago “How to disable TLS 1.0 on an Azure App Service Web App” that explains some of the reasons TLS was not configurable on the Azure App Service platform.  There were many customers who wanted to disable TLS 1.0 so they could remain or become PCI compliant and at…

1

How to disable preloadEnabled on an Azure App Service

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

I wrote this article here that describes the requirements for creating an XDT file which will allow the configuration of attributes that must happen in the applicationHost.config file.  As you know, you cannot simply / directly make a change to that file (applicationHost.config) on the Azure App Service, you have to extend it via this…

0

How to make a local deployment and create a zip file for drag and drop deployment

Visual Studio
Visual Studio

I wrote this article “Deploy to an Azure App Service using KUDU and a zip file” that explains how to deploy a zipped file from a local workstation to KUDU.  While I was writing that post I thought, hey, why not write how to create a zipped file for deployment as well, so here goes….

0

How to capture an ASP.NET Core memory dump on Azure App Service

Azure App Service
Azure App Service

I have written numerous articles about ASP.NET and creating memory dumps, but noticed I had not written one specifically about capturing an ASP.NET Core memory dump on an Azure App Service.  Here are some of my ‘related’ articles of this matter. Create a memory dump for your slow performing Web App How to take a…

0

How to create a self-signed SAN certificate, wildcard certificate vs SAN

SSL TLS Certificate Benjamin Perkins
SSL TLS Certificate Benjamin Perkins

I have some domain names that I use for testing out Azure features, write some blogs and other fun stuff.  I find myself needing, wanting to use HTTPS and using the instructions I wrote some time ago, see below, to create the certificate is long and tedious.  I had an epiphany which lead me to…

0

How to install NuGet Package in Visual Studio Code Linux Ubuntu

Linux Benjamin Perkins
Linux Benjamin Perkins

I wrote this article about running Visual Studio Code on Linux here and wanted to now create a more complicated console app.  To do this I wanted to install the Newtonsoft.Json NuGet Package. To open the console where the commands are added select View –> Integrated Terminal from the menu bar. I started with creating…

1

Create a .NET Core 2 application on Linux with Visual Studio Code

Linux Benjamin Perkins
Linux Benjamin Perkins

The plan is to work some with Linux and I have chosen Ubuntu 16.04 LTS because this, AFAIK, is the flavor which Azure App Service Linux containers runs, see more about that here. I built my Ubuntu work station, by downloading the ISO from the Ubuntu site here and burning it to a DVD.  Yes,…

0

How to configure log4net on Azure App Service

Azure App Service
Azure App Service

Although I fully recommend using Application Insights (see here) for monitoring your Azure features, I get asked sometimes how to configure log4net onto an Azure App Service.  So, this is how I did it. Install the log4net.dll binary using NuGet Configure the log4net name, type properties in the web.config Configure the log4net properties Modify the…

0

Creating a NuGet package for my .NET Standard class library

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I successfully created and published my first NuGet package that included a .NET Standard class library here.  It is nothing specificly awesome but it’s pretty cool, simple and something I have never done before.  I simply executed this msbuild command on my .NET Standard class library and it built the package for me. Before I…

0

Target .NET Core 2.0 and .NET Standard 2.0

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

I originally downloaded and installed the 2.0.0-download.md version of the .NET Core SDK and Runtime from GitHub here. The mistake I made was to install the SDK Installer for the bit of my Visual Studio instead of my OS.  I am running a 32bit version of Visual Studio on 64bit version of windows. I was…

0

How to install .NET Standard 2.0

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

The release of .NET Standard has been officially announced here.  I looked for a way to update .NET Standard to version 2.0 as I could see it was not installed on my workstation.  As shown in Figure 1, I only had version 1.0 – 1.6 installed. Figure 1, how to upgrade, install new version of…

0

How to install .NET Core 2.0

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

The release of .NET Core has been officially announced here.  I looked for a way to update .NET Core to version 2.0 as I could see it was not installed on my workstation.  As shown in Figure 1, I only had version 1.0 and 1.1 installed. Figure 1, how to upgrade, install new version of…

1

A route named ‘*’ is already in the route collection, Azure Web App

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

I was deploying an ASP.NET Web API to an Azure App Service Web App and I got this error: Server Error in ‘/’ Application. A route named ‘HelpPage_Default’ is already in the route collection. Route names must be unique. Parameter name: name Description: An unhandled exception occurred during the execution of the current web request….

0