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
19
votes
7 answers

Make back end APIs only accessible via Azure API management

I have multiple Web APIs deployed in Azure without applying authentication, so anyone has access to internet has the access to the Web APIs. Now I would like to apply authentications to the Web APIs, instead of implementing the same authentication…
19
votes
3 answers

What is the Http queue length metric on Azure Web App?

What is the Http queue length metric on Azure Web App ? My Web App is constantly over 150. I'm concerned since the default Alert that can be enabled on the App Service has a default threshold of 100. Could the usage of SignalR affect this metric ?…
Guillaume Morin
  • 3,910
  • 6
  • 25
  • 40
19
votes
2 answers

Azure websites and wkhtmltopdf

So after beginning my azure websites-adventure, I have been encountering disappointment after disappointment to the point of 'almost' regretting taking the azure route..the latest: my app uses wkhtmltopdf(Rotativa) for all its PDF generation. And as…
19
votes
2 answers

How to change default time zone in azure website service?

I'm new to Azure Web Sites service. I uploaded my web site files and it works very nice. But I have a problem with default time zone. My location is Seoul(+9). But the code return UTC(+0) time when I call below. DateTime.Now; Is there any way to…
Kim-Jimin
  • 674
  • 2
  • 9
  • 19
18
votes
2 answers

Exception: In process hosting is not supported for AspNetCoreModule. Change the AspNetCoreModule to atleast AspNetCoreModuleV2

I am trying to publish asp.net core 2.1 application to azure app service through visual studio and getting following exception. How to resolve this? C:\Program…
Mahbubur Rahman
  • 4,961
  • 2
  • 39
  • 46
18
votes
6 answers

Azure Web App on Linux: "Error: Container didn't respond to HTTP pings on port: 8080" - when using: "start": "pm2 start server.js"

My App Service Linux instance crashes if my node app is using the start script: "start": "pm2 start server.js": 2019-04-15 11:36:34.432 ERROR - Container crime-digest__6ea5_0 for site crime-digest__6ea5 has exited, failing site start 2019-04-15…
Edmond Tamas
  • 3,148
  • 9
  • 44
  • 89
18
votes
3 answers

ASP.NET Core + ApplicationInsights Logging Errors as Trace

I am using Microsoft.ApplicationInsights.AspNetCore (https://www.nuget.org/packages/Microsoft.ApplicationInsights.AspNetCore). I've enabled application insights by adding .UseApplicationInsights() in Programs.cs and in my startup class: …
18
votes
1 answer

Not able to see Add->Existing Project as Azure Web Job Option when I right click on Web project in Solution Explorer of Visual Studio 2017

When I right click on the Web Project in the Solution Explorer of Visual Studio 2017, I don't see an option 'Add Existing Project as Azure Web Job'. I did install Nuget-packages such as Microsoft.Web.WebJobs.Publish for the web project. I am…
18
votes
4 answers

azure error 502 - Web server received an invalid response while acting as a gateway or proxy server

I'm trying to host an azure website and tried troubleshooting for a few hours, but still keep getting the same error 502 Web server received an invalid response while acting as a gateway or proxy server. I tried enabling logging errors on azure, but…
Riz
  • 6,486
  • 19
  • 66
  • 106
18
votes
1 answer

How do I allow URL encoded path segments in Azure

I have an ASP.NET 6 MVC application running in Azure. I have a controller with an action like [HttpDelete] [Route("{image_url}")] public async Task RemoveImageUrl([FromRoute(Name = "image_url")] String imageUrlString) I then call it…
Micah Zoltu
  • 6,764
  • 5
  • 44
  • 72
18
votes
3 answers

Enable Access-Control-Allow-Credentials header in Azure website (Azure App Services)

We recently migrated an API application from Azure Cloud Services to Azure Websites, and some clients are still using our legacy protocol for authentication, which uses cookies (instead of the usual Authorization: Bearer HTTP header). We need to…
Maxime Rossini
  • 3,612
  • 4
  • 31
  • 47
18
votes
3 answers

Changing TimeZone on Azure Web Apps Doesn't work for DateTimeOffset.Now?

According to multiple postings, Microsoft enabled the ability to use an Application setting - WEBSITE_TIME_ZONE - to control the timezone of the web server. To try this, I set this value to "Eastern Standard Time" which is my local time zone. On an…
Tim
  • 14,999
  • 1
  • 45
  • 68
18
votes
6 answers

Why am I getting "A route named 'swagger_docs' is already in the route collection" after I publish my API App?

After publishing my API App I'm getting the yellow error screen of ASP.NET. The error message says "A route named 'swagger_docs' is already in the route collection". How can I fix this?
Panos
  • 1,953
  • 1
  • 14
  • 15
18
votes
3 answers

Increase max url length in Azure Websites?

I have a web.config with the following lines: This lets me access urls up to 25k characters including query string. However, when I…
Eric
  • 3,284
  • 1
  • 28
  • 29
18
votes
3 answers

Azure WebSites - Can't Scale Sites Individually (New Web Hosting Plan Groups)

Just this morning, the management portal for Azure WebSites no longer lets me scale individually. It looks as though all my websites have been grouped into a "Web Hosting Plan". And now when I create a new web site, I have to choose a plan. I've…
David Faivre
  • 2,302
  • 3
  • 23
  • 25