I watched this Channel9 Video here and decided to reproduce it in writing. The steps required to create this sample HelloWorld WebJob for hosting with a Web App are: Create a Web Site and Console Application Include the Console App into the Web Site Deploy the Web Site to a Web App Execute the WebJob […]
Read More →Category: Azure
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 →Files published via FTP are not showing up when I browse to my App Service
Have you ever FTPed some files to your Azure App Service and when you went to browse the site you still saw the old files or the ones you published do not exist? When you have multiple Azure App Services hosted in the same region (I.e. West Europe, East US, etc…), exist in the same […]
Read More →How (I) to setup Azure Active Directory with a Web App
Controlling access to a website is cool. I have mostly used Forms Authentication in the past, hashed the credentials, then stored and retrieved them from a custom database during the login. However, starting now, I think I will use Azure Active Directory (AAD) from now on, as it has so many options, it is very […]
Read More →Azure App Service Plans (ASP)
There is a great overview of Web Hosting Plans here, so this blog is not about what they are but 2 experiences I have had with them. Why do I think they exist now How I recently cleaned up my subscription with them For someone who has been using Azure App Services for some time […]
Read More →Updating the configuration for the web site failed, Azure Websites
I was making a lot of changes to one of my Azure Websites the other day and received the messages within the Azure Management Console similar to those shown in Figure 1 and 2. Figure 1, Updating the configuration for web site failed Figure 2, The deployment history is unavailable when the site is stopped […]
Read More →The webpage cannot be found (404) when accessing a file on Azure App Services Web App
404 status codes can be a little misleading. I wrote another article here about 404’s here from an on premise IIS perspective, but in principle the information applies. The fact about 404’s is that there are many sub status codes lined to the 404 status code. Most people believe that the 404 means simply that […]
Read More →Configure Remote IIS Administration for Microsoft Azure App Service
NOTE: since the update to Windows Server 2016 and IIS 10 this capability is no longer supported and it likely never will be again. In the short-term, you need to be looking for an alternative and learn to live without this one….IMO. Consider Web Apps for Containers. I wrote an article about configuring remote IIS […]
Read More →