How to manually create a directory on your Azure App Service

Azure App Service
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…

0

Azure App Service IP Based SSL and SNI Based SSL configuration

Azure App Service
Azure App Service

Sometimes you experience something and just want to share.  This is very corner case, but it threw me for a loop.  In this case there was an Azure App Service Web App that had 1 web site running on it.  This one site had 2 custom domains bound to it.  One of domains used IP…

0

Remove Auto Scaling from an Azure App Service using Azure PowerShell

Azure PowerShell
Azure PowerShell

I needed to remove some auto scale settings from one of my App Services using Azure PowerShell so I decided to document that here.  Here are the steps: Login Set the subscription context Get the existing Auto Scale rules based on Resource Group Remove the Auto Scale rule Please keep reading for more details. Login…

0

How to set Azure PowerShell to a specific Azure Subscription

Azure PowerShell
Azure PowerShell

#Azure #AzurePowerShell #AppService #PowerShell If you have multiple Azure Subscriptons, when you login you get a default subscription set, so if you try and take any actions on a feature in another subscription you would get a ‘NotFound’ like error.  So you need to set the correct subscription. The old (ASM) way of doing that…

0

How to change associate an Azure Active Directory to a Subscription

Azure Active Directory (AAD)
Azure Active Directory (AAD)

I created an Azure Active Directory some time ago and found that it was not linked to a subscription, because when I changed between my Azure Active Directory domains, as seen in Figure 1, when I tried to create some resources within it, I got the message shown in Figure 2. Figure 1, how to…

0

How to delete an Azure App Service Plan using Azure PowerShell

Azure PowerShell
Azure PowerShell

#Azure #AzurePowerShell #AppService #PowerShell I wrote an article here about what an App Service Plan is.  In simple terms it is the Virtual Machine that is running your web sites.  It has a different name becuase the ASP can be SMALL, MEDIUM or LARGE in size or have certain features based on the modes FREE,…

0

How to configure auto scaling for an Azure App Service with PowerShell

Azure PowerShell
Azure PowerShell

In some cases, there are features which exist on the backend REST APIs which are not yet implemented in the portal.  For example, I support the Azure German Cloud as well, and at the moment you cannot configure Auto Scaling from the portal, but the PowerShell cmdlets which call the REST APIs to configure it…

0

Failed to update App Service plan

Azure App Service
Azure App Service

I was trying to scale down my Azure App Service Web App and got this error, also shown in Figure 1: Failed to update App Service plan LG1-ASP-001: {“Code”:”Conflict”,”Message”:”The site(s) ‘LG1’ exceed maximum number of slots allowed for the hosting plan. Remove all deployment slots before scaling to a different mode.”,”Target”:null,”Details”:[{“Message”:”The site(s) ‘LG1’ exceed maximum…

0

Mapping a custom naked domain to your Azure App Service

Microsoft Azure
Microsoft Azure

A naked URL means that there is no www or any other sub-domain prefix before the domain name and domain extension.  I wrote an updated version on how to configure a common www based custom domain here. There are numerous articles about this which are posted here, but I though an update was in order. …

0

Visual C++ Redistributable Packages for Visual Studio Azure App Service

Azure App Service
Azure App Service

Azure App Service run within a sandbox that protects your App Service from doing and being harmed, the sandbox is described here.  One action that you cannot do is access the console and install any 3rd party libraries which run via a script, ex: EXE or MSI.  Therefore, I got asked how to get the…

0

Azure Function – take it to the limit, scale it up

Azure Functions
Azure Functions

Azure Functions are really cool #AzureFunction.  I wrote numerous articles about Azure Functions here, check them out.  As you know there are 2 kinds of Azure Functions: Consumption – do not have to worry about resource management App Service Plan – run your functions just like other Azure App Services Each have a different set of…

4

Bind a custom domain to your Azure App Service, 2 steps

Microsoft Azure
Microsoft Azure

There are numerous articles about this which are posted here, but I though an update was in order.  To configure a custom domain for your Azure App Service, the following steps are required:  (Note: you can also purchase a custom domain right from within the portal itself, as described here.  If you do that, many…

0

Capture a StackOverflowException and make a dump 0xc00000fd

WinDbg Debugging
WinDbg Debugging

I read in this article that “Starting with the .NET Framework 2.0, you can’t catch a StackOverflowException object with a try/catch block, and the corresponding process is terminated by default. Consequently, you should write your code to detect and prevent a stack overflow.”  That is the reason why the following code was crashing my process…

0

ASP.NET Core with Entity Framework Core SqlException: cannot openserver

ASP.NET Core
ASP.NET Core

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…

0

404 when I deploy an ASP.NET Core Web API

ASP.NET Core
ASP.NET Core

When I deployed an ASP.NET Core Web API to my Azure App Service API App I received a 404 Not Found when the page was opened, as seen in Figure 1. Figure 1, 404 ASP.NET Core The reason for this is that the deployment or default ASP.NET Core Web API template does not include a…

0