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 was to use the […]
Read More →Author: Benjamin Perkins
How to change an image in WPF at runtime in C#
I was doing some code that checks the number of network round trips to the database within a single transaction. I was coding it using WPF in C#. What I wanted to do was set the image in the Status Bar to a green image if the transaction took 1 trip, a yellow image if […]
Read More →How to change associate an Azure Active Directory to a Subscription
If you made it here, good work! This article is a little out dated as some of the features to achieve only exists in the AUX portal which is deprecating. Check here for most up-to-date instructions to achieve the same. I created an Azure Active Directory some time ago and found that it was not […]
Read More →How to delete an Azure App Service Plan using 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, […]
Read More →How to configure auto scaling for an Azure App Service with 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 […]
Read More →Failed to update App Service plan
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 […]
Read More →Mapping a custom naked domain to your Azure App Service
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 thought an update was in order. […]
Read More →Visual C++ Redistributable Packages for Visual Studio 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 […]
Read More →Azure Function – take it to the limit, scale it up
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 […]
Read More →Bind a custom domain to your Azure App Service, 2 steps
There are numerous articles about this which are posted here, but I thought 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 […]
Read More →