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
41
votes
2 answers

Is there way to determine why Azure App Service restarted?

I have a bunch of websites running on a single instance of Azure App Service, and they're all set to Always On. They all suddenly restarted at the same time, causing everything to go slow for a few minutes as everything hit a cold request. I would…
Nicholas Piasecki
  • 25,203
  • 5
  • 80
  • 91
41
votes
12 answers

Azure Web App deploy: Web Deploy cannot modify the file on the destination because it is locked by an external process

I am using the "Azure Web App Deployment" build step in VSTS to publish an ASP.NET Core API to an Azure Web App: Occasionally, this step breaks with the following error: [error]Microsoft.Web.Deployment.DeploymentDetailedClientServerException: …
41
votes
10 answers

How to Get Error Details of an ASP.NET 5 app deployed on Azure Websites?

I have an ASP.NET 5 solution with a website and several project libraries. I'm using MVC 6 and Entity Framework 7. Locally the app is working fine and until today it was working also on Azure deployed as an Azure Website. But today after the latest…
MatthieuGD
  • 4,552
  • 2
  • 30
  • 29
40
votes
4 answers

Couldn't find a project to run. Ensure a project exists in D:\home\site\wwwroot

I've been wrestling with this issue forever now. I'm trying to get my ASP.NET Core 2.1 app to run on Azure App Service. Here's the strange behavior I'm seeing in Kudu. I see the dll file for my project in Kudu console in D:\home\site\wwwroot. I then…
Sam
  • 26,817
  • 58
  • 206
  • 383
39
votes
7 answers

'runtimes' Folder after Publishing a .Net Core App to Azure Publish Via VS Online

What is the purpose of the 'runtimes' folder that gets published along with all my project files? I have a VS Online account, and have the build/deploy process configured through there. The 'runtimes' folder is certainly not a folder that exists…
DrewE
  • 423
  • 1
  • 4
  • 5
39
votes
2 answers

Azure Web Apps are really slow

I've been investigating a slow warmup time for my production app and I got some unexpected results. Testing on various Azure VMs showed the warmup time to be well-related to the application server performance (so it's not external request, including…
John
  • 6,693
  • 3
  • 51
  • 90
39
votes
5 answers

Can I point my domain name to an Azure web site?

In the current technical preview, Azure lets you create 10 ASP.NET websites. They are given domains such as http://yourappname.azurewebsites.net. Is there currently any way to point a domain name to this website? Or are there any plans to support…
Jim
  • 11,229
  • 20
  • 79
  • 114
38
votes
6 answers

Which versions of node.js are available on Azure Web Sites?

I already know how to change the version of Node.js running on an Azure website, but how do I see what the available Node.js version are that can be used in Azure? This is similar to this question, but the asker there explicitly wants to know the…
Michael Kropat
  • 14,557
  • 12
  • 70
  • 91
38
votes
6 answers

Change Azure Website Subscription

I had a free trial with windows azure, I was out of the country and it ran out. I have now upgraded to a pay-as-you-go account. All good. However, my previous websites still run off my old subscription, is there any way to reactivate these…
Hazza
  • 6,441
  • 3
  • 24
  • 37
37
votes
6 answers

Site in Azure Websites fails processing of X509Certificate2

I have site in Azure Websites (not Hosted Service) and I need processing .pfx certificates with private key there. var x509Certificate2 = new X509Certificate2(certificate, password); But I was faced with follow…
Roman Oleynik
  • 619
  • 1
  • 5
  • 12
36
votes
4 answers

Azure Functions Temp storage

When I try to save a file to the Temp storage in Azure Functions directory (D:\home\data\temp\response.pdf), I get the following error. Why can't I write to this directory? mscorlib: Exception has been thrown by the target of an invocation. System:…
naag
  • 401
  • 1
  • 4
  • 4
36
votes
2 answers

How to prevent an Azure website from going to sleep?

I deployed an ASP.NET 5, MVC 6 web application to Azure. It seems that if I don't hit the site for 10-15 minutes, it goes to sleep and it takes a good 10-15 seconds for it to wake up. I am not sure whether its the website that's falling asleep, or…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
35
votes
9 answers

KeyVaultErrorException: Operation returned an invalid status code 'Forbidden'

I'm trying to set up my web app, hosted in Azure to read settings from Azure KeyVault. I've been following this guide: https://anthonychu.ca/post/secrets-aspnet-core-key-vault-msi/ The example shows how to access app settings from KeyVault with the…
zola25
  • 1,774
  • 6
  • 24
  • 44
35
votes
4 answers

How does scaling out work in Azure App Services?

I am trying to wrap my head around the concept of Azure App Service plan and Azure App Services, with no luck. My understanding is that an App Service Plan defines the capacity and the pricing, all apps assigned to a specific App Service plan will…
Nasser AlNasser
  • 1,725
  • 2
  • 11
  • 12
35
votes
5 answers

Getting site under construction message after azure webapp deployment

I had a network failure while publishing (using visual studio webdeploy ) my webapp to azure. Later i tried again, Then i got the below error message. Error 5 Web deployment task failed. (Web Deploy cannot modify the file…