Setting up Application Gateway with an App Service that uses Azure Active Directory Authentication and URL Authorization Rules

This blog post is an optional extension of my previous post about properly configuring an Azure App Service using authentication behind an Azure Application Gateway. In the previous post, we had the whole App Service covered by Azure App Service Authentication. For this post, I will show you how to use a Preview feature to…

0

Setting up Application Gateway with an App Service that uses Azure Active Directory Authentication

This blog post is going to guide you through setting up an Azure Application Gateway in front of an Azure App Service that uses Azure Active Directory authentication and a custom domain. The default steps for setting up an Azure Application Gateway in front of an App Service with App Service Authentication will result in…

0

IP Restriction for App Services on Linux

In order to restrict access to clients based on IP Address in App Services on Linux we need to add entries in the .htaccess file. For App Services on Windows click here. In App Services on Linux, the visitor/client IP is made available to the web app through “X-Client-IP” environment variable. The log format is…


AI Portal : Common Steps to debug performance issues

Here are common steps I use during troubleshooting performance issues in the Application Insights portal : Log into portal.azure.com Navigate to your Application Insight instance In the overview tab, click on the Search button as shown below Click on the Time range button and select a time range that is closer to the perf issue…

0

Calling Node.js from ASP.NET Core

Here are the steps to invoke Node.js from ASP.NET Core Website Add below line in the ConfiguraServices() in Startup.cs public void ConfigureServices(IServiceCollection services) {     services.AddMvc();    services.AddNodeServices(); } Add constructor in the Controller     public class HomeController : Controller     {         INodeServices nodeServices;         public HomeController(INodeServices nodeServices)         {             this.nodeServices =…

1

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…

1

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