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

ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I was publishing an ASP.NET Core application, straight to production, which is a no-no, no-go and got this error, also seen in Figure 1. Figure 1, publishing to an Azure App Service, straight to production When you deploy directly to the production slot of an Azure App Service and there is traffic on the app…

0

Function ({name}) Error: The binding type(s) ‘{triggerType}’ are not registered.

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

I was working with an Azure Function V2 (beta) and got this exception, Figure 1, when I opened the Function in the portal. Figure 1, Function Error: binding extension is installed The message triggered a recollection of when I created the trigger and remembered that a step was to install the Windows.Azure.WebJobs.Storage extension.  So I…

0

502.3

IIS Internet Information Services
IIS Internet Information Services

An HTTP status code of 502 – Bad Gateway means “The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.”  I interpret that to mean that there is a server (server A) between my client and the server (server B)…

0

Redis Cache on Azure App Service is slow

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

I worked on this issue and wanted to write it down because I love it when I can execute the WinDbg commands in my “Must use, must know WinDbg commands, my most used” article and find the reason for the problem. I executed !sos.threadpool and did see that the CPUs were pretty high, as seen…

0

Where are my Azure Functions, dissappeared

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

Which way did he go George, which way did he go? (*) When you create an Azure Function App, a requirement to complete the operation is the selection or creation of an Azure Storage Account where the content (code, json, etc…), required to run the Azure Functions are to be stored. Make sure the Storage…

0

Why does my Azure Function sometimes stop being triggered

Azure Functions Benjamin Perkins
Azure Functions Benjamin Perkins

Azure is so awesome because the features it provides are so very dynamic and flexible.  The platform provides a starting point for the fruition of ideas, ideas only limited by ones imagination.  With its dynamic nature and the flexibility it delivers to consumers, sometimes you just need a note to get your ideas optimally flowing…

0

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

Named Pipes and Azure App Services

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

According to this “Operating system functionality on Azure App Service” and my interpretation, it means if you attempt to use named pipes (*)(*) for anything other than inter-process communications (*) that it will not work. I was coding some stuff and was getting these errors: They both called out the provide: Named Pipes Provider and…

1

System.Diagnostics.Trace Application Logging Log Stream on Azure App Service Function App

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

Here is what I wanted to do. Add some code like this to my ASP.NET application. Then I wanted to write those logs out to the Application Logging (File System), Figure 1, Application Logging (Blob), Figure 2 and to the Log stream window in the portal, Figure 3. Figure 1, how to write System.Diagnostics.Trace logs…

0

IP Restrictions on Azure App Service as expected behavior

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

A method to 100% shutdown the public endpoint of an App Service running in the public tenant is not provided.  However, you can create an ILB ASE (which is not a public tenant) or you can restrict the access using an IP Restriction.  Here is some information on the detailed feature for setting this up…

0

How to get computer name, host name from a memory dump, WinDbg

WinDbg Debugging Benjamin Perkins
WinDbg Debugging Benjamin Perkins

It is very important to have some back ground on what was happening when the memory dump was taken.  This helps you detemermin which WinDbg commands to execute and provides you some context on how to interpret the output of those commands. I wrote this article here which explain my favorite WinDbg commands. I was…

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

Publish has encountered an error ERROR_FILE_IN_USE

C# Benjamin Perkins
C# Benjamin Perkins

I was making a deployment to an ASP.NET Core application from Visual Studio and got this error, see Figure 1. Figure 1, deployment asp.net core web deploy msdeploy from visual studio Read some of my other web deploy articles here: Web Deploy ERROR_DESTINATION_NOT_REACHABLE Azure Web App ERROR_CONNECTION_TERMINATED msdeploy web deploy All of them are accessible…

0

How to read, unable to read appsettings.json values ASP.NET Core

ASP.NET Core Benjamin Perkins
ASP.NET Core Benjamin Perkins

I wrote this article here “Database connection string when swapping between App Servers slots” and if you look at the last paragraph I mentioned a ‘gotcha’ when you have an application setting, “AppSetting” in your web.config file which has the same name as an application setting you have configured, via the portal of your Azure…

1