How to create an Azure Function in Visual Studio

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

These are some good instructions as well “Create your first function using Visual Studio”.  But I like to try it out myself.  Check out these other articles as well. How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here…

0

How to connect to a database from an Azure Function

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I created a simple Azure Function and now I want to connect it to a database.  Check out these other articles as well. How to create an Azure Function in Visual Studio Deploy an Azure Function created from Visual Studio Check out all my Azure Function articles here I found this article also useful “Code…

0

Deploy an Azure Function created from Visual Studio

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I created an Azure Function and added some some code to connect to a database and now I want to deploy it to the Azure platform. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Check out all my Azure Functions articles here Right-click on…

0

Server Error 0x800004005 Request timed out.

C# Benjamin Perkins
C# Benjamin Perkins

I wrote this post and this lab about the impact of having debug=true in your web.config file.  The fact is, when you are running in a production environment, you do not want to have debug=true.  However, I was writing a series of NETSH tracing posts: Capturing a NETSH network trace Analyze NETSH traces with Wireshark…

0

Configuration error, targetFramework 4.7

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

I was deploying some code to one of my IIS servers and got this YSOD as seen in Figure 1.  I had coded in Visual Studio 2017 with the .NET Framework 4.7 targeted from my ASP.NET Web Forms application I wrote. Figure 1, Server Error, targetFramework=”4.7” I like to look at the version of the…

0

.NET Core 2.0 modular and NuGet packages

.NET Core Benjamin Perkins
.NET Core Benjamin Perkins

One of the cool features of the .NET Core is that the namespaces you reference in the project are the only ones that are contained in the DLL your project renders.  I was reading that when you initially create a project in Visual Studio, that numerous packages are included by default and was wondering, because…

1

Targeting a specific version of the .NET Framework

Microsoft .NET Benjamin Perkins
Microsoft .NET Benjamin Perkins

I find numerous opinions and understandings about side-by-side and in-place installations of the .NET Framework.  Here is my favorite explanation of this “.NET Versioning and Multi-Targeting – .NET 4.5 is an in-place upgrade to .NET 4.0”.  I also link to that same article in one of my IIS labs here, “Lab 5: Basic and Advanced…

0

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…

2

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