Investigating Socket exception for ASP.NET applications in Azure App Service

In Azure App Service, the number of outbound connections are restrictive based on the size of the VM. Below are the machine wide TCP limits (as documented here.) Limit Name Description Small (A1) Medium (A2) Large (A3) Connections Number of connections across entire VM 1920 3968 8064 When an application initiates an outbound connection to…


Things You Should Know: Web Apps and Linux

Azure App Service on Linux and Web App for Containers allow you to run your Web App on Linux and Apache. Azure App Service on Linux provides a collection of Microsoft-provided runtime stacks that you can use for your Web App. Web App for Containers makes it possible to use your own Docker container in Azure Container…

0

ASP.NET and ASP.NET Core Application Restarts on Azure App Service.

Your ASP.NET \ASP.NET Core application on Azure App Service will restart for many of the same reasons that it would do on an on-premises IIS Server or VM hosted in the cloud. Here are some of the reasons that this will happen. The IIS worker process is recycled. The worker process terminated unexpectedly. The App…

0

Networking Related Commands for Azure App Services

The purpose of this blog is to give a general overview of the available commands to troubleshoot network connectivity issues with web apps, specifically when connecting the web apps to VNETs either in an App Service Environment (ASE) or a standard web app with a Point-to-Site VPN connection. These commands can be used via the…

0

Add Routes to an Azure Web App Integrated with a VNET

The default routes assigned to the Point-to-Site connection are inherited from the VNET’s routes. Additional routes may be needed to correctly route requests, bound for the VNET or on-premises, down the Point-to-Site tunnel. Below are three options to add routes the web app’s Point-to-Site configuration. The method of “Using the Azure Portal” is the recommended…

0

Creating a Seal for an Azure Web App Certificate Purchased through the Azure Portal

If a certificate was purchased through the Azure Portal for your Azure web app you may require a GoDaddy Seal on your website. The seal can be accessed by running the following PowerShell commands. To run the PowerShell Commands make sure to have the Azure PowerShell module installed found under the Command-line tools section. I’d…

0

Capturing dumps on multiple instances automatically using procdumphelper

Capturing dumps for intermittent issues happening only on certain instances could be very challenging in Azure App Service. Depending upon the scenario, you can capture dumps using Auto-heal by defining the triggers in the root web.config file of your web site and configure the actions to invoke procdump when these triggers are hit. With this approach, If you have multiple instances of…


Things You Should Know: Web Apps and Hybrid Connections

Using a Hybrid Connection with your Web App allows you to easily connect to on-premise resources. We recently improved the experience with Hybrid Connections by moving from BizTalk Services to Azure Relay. In this post, I’ll address some of the things you should be aware of so that you can avoid problems.   In this…

0

Sitefinity based Azure App Service affected after .NET Framework 4.7 update

Background: As previously announced here – Azure App Service will get support for .NET 4.7 by the end of June 2017. Recently we have seen instances where web apps started failing with below symptom as a result of .NET Framework 4.7 updates. If your Azure App Service is affected by below symptom, please follow below…


Troubleshooting Hybrid Connections with Logging

Hybrid Connections offer an easy way to connect your Web App to an on-premise resource. In most cases, Hybrid Connections just work, but when they don’t, the only info you might have to go on is a failure in your app or a status of “Not connected” in the Azure portal or the Hybrid Connection…

0