Questions tagged [azure-web-app-service]

Use this tag for questions relating to web applications residing on Azure. Azure App Service is a cloud-based platform for hosting web applications, REST APIs, and mobile back ends. It was formerly known as Azure Web Sites. You can deploy applications written in a variety of languages: .NET, .NET Core, Java, Ruby on Rails, Node.js, PHP and Python, using either a Windows or Linux container.

See https://learn.microsoft.com/en-us/azure/app-service/app-service-web-overview for further information.

11621 questions
13
votes
2 answers

How to replace %PUBLIC_URL% in react app on an azure website

I have a react app that works perfectly fine locally, when I deploy it to Azure, I have a few 404 errors, on the index.html All of them with the tag %PUBLIC_URL% According to the documentation, they will be replaced in the build process, but not…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
13
votes
7 answers

ASP.NET Core 2.1 Preview 2 App Not working on Azure App Service

I've been running my ASP.NET Core 2.1 Preview-1 app on Azure since this release became available. I had installed the ASP.NET Core runtime extensions through the portal and it's been working fine. Now that Microsoft released ASP.NET Core 2.1…
Sam
  • 26,817
  • 58
  • 206
  • 383
13
votes
2 answers

Azure App Service Metrics - How to interpret Sum vs. Count related to requests?

Below is a screen shot of an Excel file downloaded from Azure showing metrics on the number of requests our web app is getting. Notice the rows highlighted in yellow and orange. The 128, 177 and 138 represents the sum of requests. The 8, 9 and 9…
Randy Minder
  • 47,200
  • 49
  • 204
  • 358
13
votes
2 answers

Azure Web App. The specified CGI application encountered an error and the server terminated the process

My app works well locally but I've got an error when I deployed it on Azure Web App: The specified CGI application encountered an error and the server terminated the process. My app is a .NET Core 2.0 Web API with no wwwroot folder. I have checked…
Andrei
  • 42,814
  • 35
  • 154
  • 218
13
votes
10 answers

Unable to get access to Key Vault using Azure MSI on App Service

I have enabled Managed Service Identities on an App Service. However, my WebJobs seem unable to access the keys. They report: Tried the following 3 methods to get an access token, but none of them worked. Parameters: Connectionstring: [No connection…
13
votes
5 answers

Azure web app code not updating after publish until restart

I am developing a multi-tier web application consisting of multiple Web APIs in an Azure App Service Environment. Recently, after upgrading to VS2017, I have noticed that the apps will randomly fail to update after I publish new code (from VS).…
David
  • 797
  • 2
  • 8
  • 23
13
votes
1 answer

Run tracert from an azure app service?

we are trying to debug a connectivity issue and I can't seem to run tracert from my azure app service (azure website) instance. If I use the kudu cmd console and run tracert www.ibm.com I get the error "unable to contact IP driver. Error code…
GGleGrand
  • 1,565
  • 1
  • 20
  • 45
13
votes
3 answers

IP Restriction on Azure WebApp from ARM (Azure Resource Manager)

I'm using ARM templates to deploy to Azure Web Apps, the site is deployed to a number of environments, with the ARM Template accepting different parameters for each. One of the requirements is to enable an IP block on the site in some environments…
13
votes
1 answer

Azure Web Apps : How to access specific instance directly via URL?

We have deployed our Sitecore CMS on to Azure Web Apps and having some indexing issues or similar. i.e. the updated changes is reflected for some users and not for all. We have a scale turned on to 2. I would like to troubleshoot by accessing the…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
13
votes
1 answer

Application Insights not showing data for Server Response Time, Server Requests or Failed Requests

I have added Application Insights to my application. After some time, I am correctly seeing the Browser Page Load Times, but none of the other graphs are showing any data at all. I see this: When I am expecting something along the lines of…
13
votes
1 answer

Azure "Web apps" service: auto-install npm modules from package.json

I deployed a node.js app in an azure "web apps" container. I added the "node_modules" folder to .gitignore and let azure install modules from package.json. However, most modules do not get automatically installed and i have to open the instance's…
ccot
  • 1,875
  • 3
  • 36
  • 54
13
votes
1 answer

How to locate Azure MySQL database connection string?

After creating a new website in Azure (Standard S1 tier), new MySQL resources were linked. Upon entering DB's name and saving its location, the resource with status Linked in Linked Resources tab of the web site portal becomes visible. When…
13
votes
3 answers

Is it possible to enable Always On for Azure websites through management/resource management APIs?

I am writing some code for automatic deployment of Azure websites (including the creation of the website in Azure). I'm using the Azure Management Libraries and Azure Resource Management Libraries available in Nuget. Most of it is in place, however…
Hallgeir
  • 1,213
  • 1
  • 14
  • 29
13
votes
5 answers

Connection Strings are replaced when performing Azure Web Site staging Swap

(1) we have a web application running on Azure Web Site using Sql Server (Web Edition). The application includes two connection strings: DefaultConnection - normal connection string, in the form…
yarg
  • 679
  • 6
  • 11
13
votes
1 answer

Azure Websites, Can one deploy .NET 4.5.2 websites

From this SO post I see 4.5.1 is supported in WAWS and when you select 4.5, you are really running 4.5.1. How about the recently released 4.5.2 ? Is there any official documentation anywhere on which framework updates have been applied to WAWS?
eagle779
  • 694
  • 6
  • 17