If your Web App is not behaving like you expect, you might consider implementing Auto Healing. Auto Healing for a Web App lets you take an action when certain events occurr, for example: When request count breaches a certain limit When requests are running slower that expected When an unexpected http status code is received […]
Read More →Search Results for: auto heal
How to manually create a directory on your Azure App Service
There are 3 kinds of files that an Azure App Service can deal with: Persisted Files Temporary Files Machine Level read-only files What does those mean and what can they be used for? Persisted Files These files are rooted in the D:\home path. The contents of these files are shared between all the multiple instances […]
Read More →Create a memory dump of your App Service when it consumes too much memory
I have written a number of troubleshooting labs here, one of which is Lab 21: WinDbg – Memory Consumption. In this article I will identify how to capture a memory dump of a process that is consuming too much memory. In this case it is running on an Azure App Service Web App. NOTE: This […]
Read More →How to take a memory dump from a specific App Service instance
I wrote this article that discussed how to monitor the different instances of an Azure App Service. As you know, when you access the KUDU console, as I discussed here, you are accessing only 1 of the multiple instances, which may or may not be having a problem. So, if you take a memory dump […]
Read More →Monitoring your multiple Azure Web App instances
When you scale to more than a single instance of a Web App, it gets a little complicated to monitor or troubleshoot an issue. The complicated part is trying to find which of the instances are experiencing the problem. In many cases, a majority of the requests complete just fine, but from time to time, […]
Read More →Connection Timeout (Timeout Expired) on Azure Web App Site / Azure SQL
I not only support Azure Web Apps, formerly Azure Websites, but I use it too. I had a site that was getting the exception shown in Figure 1. The error was “Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in […]
Read More →ASP.NET Core with Entity Framework Core SqlException: cannot openserver
I am doing some ASP.NET Core self study and experienced this issue. The thing is that my client IP changes from time to time and need to add it to the the firewall so that database connections are allowed to it. This happens mostly when I am debugging or coding from my workstation while the […]
Read More →ASP.NET Core with Entity Framework Core error, Login Failed
I was working with the EF NuGet package Microsoft.EntityFramework.Tools.DotNet and executed the command-line interface (CLI), also shown in Figure 1. dotnet ef database drop Running this method resulted in the same behavior: context.Database.EnsureDeleted(); Figure 1, Entity Framework Core, CLI I am not sure what exactly I was thinking, but it I did not really expect […]
Read More →What’s new in IIS 10 – Microsoft Internet Information Services 10 New Features
With each version of Microsoft Windows Server comes a new version of Internet Information Services (IIS). With the recent release of Windows Server 2016 comes IIS version 10. Before I cover these new features, here are a few articles which I have already written which you may be interested in: What’s new in IIS 8.5 […]
Read More →Lab 13: Using LogParser
Setup Install LogParser 2.2 from here. Remember that IIS Log default to GMT and not local time, write queries accordingly Review this article which goes into great detail about LogParser Review this link which describes HTTP error codes Review this link which describes IIS error codes You can get a copy of the queries, iis […]
Read More →