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 →Archive for December, 2017
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 →Capture a StackOverflowException and make a dump 0xc00000fd
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 […]
Read More →ASP.NET Core with Entity Framework Core SqlException: cannot openserver
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 […]
Read More →404 when I deploy an ASP.NET Core Web API
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 […]
Read More →ASP.NET Core with Entity Framework Core error, Login Failed
I was working with the EF NuGet package Microsoft.EntityFramework.Tools.DotNet and executed the command-line interface (CLI), also shown in Figure 1. dotnet ef database drop Running this method resulted in the same behavior: context.Database.EnsureDeleted(); Figure 1, Entity Framework Core, CLI I am not sure what exactly I was thinking, but it I did not really expect […]
Read More →ASP.NET Core with Entity Framework Core – ASPNETCORE_ENVIRONMENT
This is another one, Figure 1, that just kind of happened because I dropped my database. Once I re-created the database and my ASP.NET Core application could access it, all was back to normal. Figure 1, ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. Error. An error occurred while processing your request. Development Mode […]
Read More →