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 →Search Results for: github
Auto Heal your Azure Web App
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 →Create an Azure Web App failover solution on a budget
When you choose a region to place your Web App into, it is placed onto a stamp or scale unit. The scale unit is an isolated entity within the region or datacenter. This entity encapsulates and protects the Web Apps contained within it from service interruptions that may happen in other scale units. When you […]
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 →Making changes to the applicationHost.config on Azure App Service
There are a few other resources about this here and here, but as experiences and changes happen, documenting and sharing different perspectives help move projects and people forward. Additionally, there is no better way to learn than by doing and no better way to remember than by documenting or writing it down. Here is an […]
Read More →Sending an email from Azure App Service using SendGrid
A common question I get is, “why doesn’t my SMTP email code that I wrote for my other website not work on Azure Web App?” Additionally, I sometimes get this exception sent to me, “System.Net.Mail.SmtpException: Transaction failed. The server response was: #.#.# Service unavailable; Client host […] blocked using; Blocked”. I also wrote an article […]
Read More →Mapping a custom subdomain to an Azure Website
Mapping a custom domain name to your Azure Web App (Website) is based around a very important principle. The principle being that you need to add a CNAME with a HOST = awverify. This is how we confirm that you are indeed the owner of this domain. If you have access to the DNS file […]
Read More →Why can’t I publish my web site to Microsoft Azure Web App
There are numerous ways to publish your web sites to a Microsoft Azure App Service Web App. Click on one of your App Service Web App and on the Quick Start page you see a link called ‘Set up deployment from source control’, as shown in Figure 1. Figure 1, Set up deployment from source […]
Read More →Using KUDU with Microsoft Azure Web Apps
There is a nice set of troubleshooting and analysis tools for use with Microsoft Azure Web Apps (formerlly Web Sites) called KUDU. Information about that tool set can be found here. It is useful for capturing a memory dump, as explained here, looking at deployment logs, viewing configuration parameters and much more. To access your […]
Read More →HTTP 404 after installing an SSL Certificate
I was configuring an SSL certificate and once complete, when I attempted to access the website using https://localhost I started receiving a 404 error as shown in Figure 1. Figure 1, 404 HTTP Status after installing an SSL Certificate I tried some shots at troubleshooting the issue using Failed Request Tracing and LogParser to view […]
Read More →