Why is my Azure App Service Slow? Why does my Azure App Service consume so much CPU? Why does my Azure App Service consume so much memory? Why does my Azure App Service restart? Why does my Azure App Service open so many TCP connections? If you have ever asked any of those questions, look […]
Read More →Tags: Azure App Service
How to disable preloadEnabled on an Azure App Service
I wrote this article here that describes the requirements for creating an XDT file which will allow the configuration of attributes that must happen in the applicationHost.config file. As you know, you cannot simply / directly make a change to that file (applicationHost.config) on the Azure App Service, you have to extend it via this […]
Read More →Quick way to deploy an Azure App Service from Visual Studio
This article has most to do with #AzureGermany #GermanCloud however the approach can be used in all Azure platforms. The point here is that there are numerous steps one must take in order to configure Visual Studio to connect to non-Public Azure instance. I mentioned some of those requirements here. There is also now an […]
Read More →Sending email from an Azure App Service using an O365 SMTP server
One of the surprises I had when I moved many of my sites from a domain hoster to an Azure Web App was that the platform only provided web services and that I had lost my SMTP services. That meant I was not able to send or receive emails from my private domains. I rushed […]
Read More →Using FTPS with Azure App Services
Using FTPS is a very interesting area. I read a lot about it, but can’t really ever get to the point where I finish the article and know where I need to go then. Point is, using any form of SSL or TLS is a negotiation between a client and the server. Most of the […]
Read More →How to configure log4net on Azure App Service
Although I fully recommend using Application Insights (see here) for monitoring your Azure features, I get asked sometimes how to configure log4net onto an Azure App Service. So, this is how I did it. Install the log4net.dll binary using NuGet Configure the log4net name, type properties in the web.config Configure the log4net properties Modify the […]
Read More →A route named ‘*’ is already in the route collection, Azure Web App
I was deploying an ASP.NET Web API to an Azure App Service Web App and I got this error: Server Error in ‘/’ Application. A route named ‘HelpPage_Default’ is already in the route collection. Route names must be unique. Parameter name: name Description: An unhandled exception occurred during the execution of the current web request. […]
Read More →How to make an App Setting or Connection String sticky
I wrote an article here which talk about how to make an app setting or connection string sticky to the slot. You can make the settings stick using Azure PowerShell. Here are the Azure PowerShell cmdlets required to create an Azure App Service Web App: Login-AzureRmAccount Set-AzureRmContext Set-AzureWebsite (also have a look here at the […]
Read More →Database connection string when swapping between App Servers slots
Consider you have an Azure App Service Web App that handles a large amount of traffic and accesses a database, with an architecture similar to that shown in Figure 1. When you make a deployment you would not want to take the risk of deploying bugs or having significant downtime when you deploy a new […]
Read More →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 →