The number 400

400th article Benjamin Perkins
400th article Benjamin Perkins

What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula:  You can write 400 like this: four hundred,…

1

Find method parameters with WinDbg

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

I wrote this article, see the bottom where I do the memory dump analysis and wanted to expand on it some. Simply, if you are running managed code then you can decompile the source and see what the value of the Int32 passed to the Sleep() method, Figure 1.  I explained how to save the…

0

ASP.NET Compilation Azure App Service, Web Project, Web Site

ASP.NET Benjamin Perkins
ASP.NET Benjamin Perkins

There are numerous flavors of ASP.NET modules, for example Web Forms (Web Sites and Web Applications), Web Pages, Model-View-Controller (MVC) and the newest one Core.  In this article I want to discuss some learnings about the difference between the compilations of an ASP.NET Web Site (Figure 1) and an ASP.NET Web Application (Figure 2). Figure…

0

How to connect to a database from an Azure Function using Azure Key Vault

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

In my original article here where I stored the database connection string in an Environment Variable which is no longer an optimal approach (it was only for example).  I will now update the Azure Function to access an Azure Key Vault secret which has the database connection string and use it to make the database…

0

Memory consumption issue with WinDbg, address summary

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

I must confess being pretty good at analyzing memory dumps from a performance or an exception perspective.  I have written a few articles and labs about those types of problems: Lab 19: Debugging a high CPU hang W3WP process using WinDbg Lab 20: Debugging a low CPU hang W3WP process using WinDbg Create a memory…

0

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…

2

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

An error occurred

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions…

0

Publish failed

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

While I was writing these articles about creating, developing local and deploying an Azure Function App, I received this error, Figure 1. How to create an Azure Function in Visual Studio How to connect to a database from an Azure Function Deploy an Azure Function created from Visual Studio Check out all my Azure Functions…

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

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

Deploy to an Azure App Service using KUDU and a zip file

KUDU Azure App Service
KUDU Azure App Service

I wrote this article about a KUDU feature that supports the dragging and dropping of files from a local workstation to your Azure App Service.  It is also possible to drag and drop a compressed ZIP file and KUDU will automatically unzip the content of the file.  This is describe here already, but I like…

0