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
4 answers

Can I invoke an Azure webjob from an Azure website and pass it parameters?

I have an Azure webjob that I want to invoke from an Azure website. I want to pass string parameters from the website to the webjob. I know I can invoke the webjob as a REST API (https://github.com/projectkudu/kudu/wiki/Web-jobs). So I can invoke…
LeeKay
  • 133
  • 1
  • 1
  • 7
13
votes
1 answer

Azure web site as virtual application/directory of other Azure web site

I am looking to migrate an MVC website to Azure web sites. My current set up in IIS is as follows: Main MVC site -> www.thesite.com (physical path = wwwroot/thesite) WordPress blog for the site -> www.thesite.com/blog (physical path =…
Gadget27
  • 544
  • 5
  • 14
13
votes
5 answers

MVC Bundling - Failed to load resource

What could be causing this? I'm working with a DurandalJS project that builds and runs locally just fine. When I try to deploy to an Azure Website, the app publishes but fails in the browser with: Failed to load resource: the server responded…
RobVious
  • 12,685
  • 25
  • 99
  • 181
13
votes
5 answers

Migrate Azure Web Site to Azure Cloud Service

I have a project and I'm planning to start the web app as an Azure Web Site and then migrate it to an Azure Cloud Service (also called Hosted Service) if it is needed as a scale strategy. The decision is because I read that Azure Web Sites are more…
kzfabi
  • 2,065
  • 1
  • 22
  • 26
12
votes
1 answer

How to host multiple applications in the same Azure Web App Service?

I would to host two ASP.NET Core Applications, a Web API and a Blazor Server App, but I searched in the internet and the answers that I founded only target to a different path inside of one application, that's not my case. I would to use they like a…
Lucimarck J S Dias
  • 153
  • 1
  • 3
  • 8
12
votes
4 answers

Error publishing an ASP.NET Core 3.1 site to Azure from Visual Studio 2019

I have a preexisting ASP.NET Core 3.0 application which is successfully deployed to an Azure App Service (using the AspNetCoreModuleV2 module). After upgrading the app to (today's release of) ASP.NET Core 3.1, the application builds and runs…
12
votes
4 answers

How to deal with naked domains when using azure managed certificates

I'm trying to use the recently announced (in preview) managed certificates for Azure app service. One of the limitations is that you can't get one for naked domains. eg.: you can get one for www.domain.com, but not domain.com. In my (current)…
Thomas Woelfer
  • 533
  • 5
  • 21
12
votes
5 answers

Difference between "System Assigned" Identity and App Registration "Service Principal"

Can someone help me understand the difference between the Service Principal created when I create an App Registration in AAD and the Managed Identity that gets created when I enable "System Assigned" on the Identity blade of an App Service? We have…
phydeauxman
  • 1,432
  • 3
  • 26
  • 48
12
votes
3 answers

"No route registered for '/ZipDeployUI' in Azure

Am following node application deployment guide in Azure app service .After creating the web app in azure it asks to redirect to below url https://.scm.azurewebsites.net/ZipDeployUI But after redirecting it says. "No route registered for…
12
votes
1 answer

How to debug startup Errors on Azure App Service

I am getting this error when my App Service starts on Azure: An error occurred while starting the application. I have not been able to find any relevant errors in the event logs. How can I debug this?
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
12
votes
4 answers

Deploying a plain ASP.NET Core 2.2 Web App in Azure using Web Deploy is throwing an error

I went to publish an ASP.NET Core web application using Azure through the Publish screen in Visual Studio 2017. I used all of the defaults, though my app uses migrations so I had to tell it to run them in the publish profile. When I try to access…
Blake Rivell
  • 13,105
  • 31
  • 115
  • 231
12
votes
1 answer

How to define an array as an environment variable for App Settings

How to define environment variables in the app settings of an azure app service to override a list such as the following? "reportsSettings": { "emails": [ "a@gmail.com", "b@gmail.com", "c@gmail.com" ] } ps: I know I could…
François
  • 3,164
  • 25
  • 58
12
votes
1 answer

Use and setup of WAF with Azure App Service Web Application?

I run a number of App Service MVC Asp.Net web applications. I think it would be a good idea to add a WAF to the front the App Service website to enable OWASP protection as well as more visibility on suspicious attacks. Also I would want this to be…
SamJolly
  • 6,347
  • 13
  • 59
  • 125
12
votes
1 answer

How can I gracefully migrate open Websocket connections after a deployment slot swap?

In my web app when the user logs in to the app, their browser opens a Websocket to the server so that updates can be pushed down to the browser. It's an ASP.NET Core Web App (self-hosted) running in Azure App Services. I'd like to use Azure's…
12
votes
5 answers

Azure: 409 Conflict: Cannot delete directory. It is either not empty or access is not allowed

I use Azure with node js App Service. When i try to delete empty folder using ftp or kudu app in node_modules folders i get error: 409 Conflict: Cannot delete directory. It is either not empty or access is not allowed. This folder is totally empty.…
DarDev
  • 153
  • 1
  • 1
  • 9