Resource move validation failed. Cannot move Azure App Service

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

The scenarios in which you can and cannot move an Azure App Service are nicely documented here “App Service limitations”.  I also wrote an article about this as well here “Moving an Azure App Service”. It is possible to move your Azure App Service between subscriptions and resource groups.  Like I have stated many times…

0

How to optimize Azure App Service AlwaysOn, cold start, warm up request

Azure App Service Benjamin Perkins
Azure App Service Benjamin Perkins

When you enable AlwaysOn it means that the application pool will not be shutdown after the idle timeout threshold is breached.  I wrote about this threshold here and here. The point here is that after a cold start of your application, AlwaysOn will send a request to the ROOT of your application.  Whatever file is…

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

Adding existing projects to an existing solution hosted on GitHub

GitHub - benjaminperkins
GitHub - benjaminperkins

I have written number of articles about configuring GitHub and deploying some code to it.  Here is a list of them just in case you want to get some perspectives and better know where I am coming from. Setting up and using GitHub in Visual Studio 2017 Setting up and using GitHub in Visual Studio…

0

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 find apiVersion used for REST API or ARM templates

Template Azure ARM Benjamin Perkins
Template Azure ARM Benjamin Perkins

I wrote a few articles that discuss how and or why you would need to know the apiVerion api-version when calling Azure REST APIs or making a deployment with an Azure Resource Manager (ARM) template. Azure Function 400 Bad Request How to disable/enable HTTP/2, Azure App Service Using Postman to call Azure REST APIs Make…

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

Lab 18: Debugging a handled and unhandled exception

In this lab you will use procdump to view exceptions and capture a memory dump when an exception happens. Setup Install Debugging Tools for Windows – For WinDbg Install and Configure CSharpGuitarBugs on an IIS server as described in Lab 1 Place PROCDUMP executable on the IIS Server Read this article here about the –f…

0