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
26
votes
3 answers

How do you expose port 3000 using an Azure Web App Container?

I'm running a react boilerplate app within a docker container, hosted Azure Web App Containers. Locally, I spin the app up with: docker run -p 3000:3000 431e522f8a87 My docker file looks like this: FROM node:8.9.3 EXPOSE 3000 RUN mkdir -p…
Dave Voyles
  • 4,495
  • 7
  • 33
  • 44
26
votes
4 answers

Disable chunking in ASP.NET Core

I'm using an ASP.NET Core Azure Web App to provide a RESTful API to a client, and the client doesn't handle chunking correctly. Is it possible to completely turn off Transfer-Encoding: chunked, either at the controller level or in file…
Iain Brown
  • 1,079
  • 3
  • 11
  • 23
26
votes
15 answers

Predefined type 'System.Void' is not defined or imported during Visual Studio Online build of ASP.NET 5

I get this error when I try to build the project in Visual Studio Online: …\Frontend\Startup.cs(65,49): Error CS0518: Predefined type 'System.Void' is not defined or imported …\Frontend\Startup.cs(65,49): DNXCore,Version=v5.0 error CS0518:…
26
votes
5 answers

Where is "download publish profile" in the new Azure Portal?

In the old Azure Portal, I used to download the publish profile (which included FTP username/password) for App Services using the menu shown here. How do I get this in the new Azure Portal? Ultimately, how can I get my FTP user/pass for my App…
Justin Skiles
  • 9,373
  • 6
  • 50
  • 61
26
votes
4 answers

Does Azure offer https for "cloudapp.net"?

One great advantage of using Azure Websites is that I can get secure HTTP (HTTPS) without doing nothing: I simply type https://xyz.azurewebsites.net and it works. I don't have to worry about certificates because I use the subdomain that Azure gives…
sports
  • 7,851
  • 14
  • 72
  • 129
25
votes
1 answer

Change variables in appsettings when deploying with github actions

I am trying to deploy an app with github actions. I linked my azure account to my github repository and the following actions has been created: name: Build and deploy ASP.Net Core app to Azure Web App - my_app_name on: push: branches: -…
Antoine L
  • 431
  • 4
  • 6
25
votes
5 answers

Docker never runs on Azure - Waiting for response to warmup request for container

I'm trying to deploy a dockerized app on Azure's App Service. I enter all the fields correctly, my image gets pulled, put I keep getting this error until something times out. Waiting for response to warmup request for container -
Etienne Berube
  • 547
  • 1
  • 7
  • 21
24
votes
6 answers

Azure Web App (ASP.NET MVC) becomes cold every ten minutes and takes +10-20s to load

I have a very weird issue with an Azure Web App, and I'm getting quite frustrated with it. We experience our app is very fast and responsive when using it, however, if we don't use it for roughly ten minutes, it has a very cold start (~10-20…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
24
votes
8 answers

AADSTS50012: Invalid client secret is provided when moving from a Test App to Production

I have two applications registered under the Azure Portal: a test version and a production version. My test App works fine with the Client Id and ClientSecret/AppKey that I got from the test app's detail from Azure Portal. However when I move to the…
24
votes
5 answers

Changing Azure Resource Group location

I have a setup in azure with a bunch of resources combined in a resource group. I want my services to be located in west-europe, so all my resources are there (where possible) I just noticed that when creating the resource group, i accidentally used…
24
votes
6 answers

How to deploy a simple static micro site on Microsoft Azure

I plan to move all my websites from my own baremetal server to Microsoft Azure. To get things started I want to do a POC and deploy a very simple static microsite - a single html page with some css/img/js resources. How does one go deploy a simple…
Pectus Excavatum
  • 3,593
  • 16
  • 47
  • 68
24
votes
1 answer

Publish Multiple Projects to Different Locations on Azure Website

Feel free to recommend a better title or changes to my explanation below! I am using Windows Azure Websites (for the first time) and have connected it to a solution in Visual Studio Online (also my first time). I was also able to connect to Visual…
Markus
  • 689
  • 1
  • 7
  • 14
23
votes
2 answers

Is the ARRAffinity cookie always set in azure web applications?

I a host web application on Azure. I have a basic plan where only one instance works. After I've published my app into cloud, I've noticed an automatically generated cookie called ARRAffinity. So even with single instance of hosted web application…
krypru
  • 1,692
  • 3
  • 22
  • 29
23
votes
1 answer

ThreadPool SetMinThreads - the impact of setting it

I am trying to understand the impact of setting ThreadPool.SetMinthreads. I have multiple virtual applications running in one Azure App Service. My understanding is that all these virtual applications will share the App Pool, and will have only one…
Thomas
  • 1,970
  • 4
  • 28
  • 59
23
votes
2 answers

ASP.NET web application in Azure - How to log errors?

I have a web application deployed to azure but I don't know how to log errors. For testing purposes I have this ForceError method: public string ForceError() { throw new Exception("just a test exception"); return "ok"; } Which causes and…
nest
  • 1,385
  • 1
  • 15
  • 34