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
14
votes
1 answer

Troubleshooting Web App process restarting

Our web app process is restarting regularly and we are unable to determine the reason. When looking into Application Events (using the 'Diagnostics and solve problems' blade in the Azure Portal), there exists a bunch of the following Info logs by…
Dave New
  • 38,496
  • 59
  • 215
  • 394
14
votes
4 answers

Download Azure web app?

I just opened a free Azure trial account and went through the various forms to create a test web app. I would like to edit the source files locally with Visual Studio 2015 however. Is it possible to download the files generated during sign-up, and…
Kees van Zon
  • 191
  • 1
  • 1
  • 8
14
votes
1 answer

Enabling gzip compression on Azure App Service

I have a web app hosted in microsoft azure. As local IIS uses compression for both static and dynamic content I expected this to work on azure platform as well. As it seems compression does not work as json and css files for example are returned…
edesr
  • 200
  • 1
  • 1
  • 12
14
votes
3 answers

How to Sync an Azure AppService git based from Powershell script?

I have an Azure AppService (Web-Site microservice) created from an ARM template. It contains a drupal app. I have configured it to read from a git server in bitbucket. When I create for first time it sucessfully pull the files from bitbucket (master…
Oscar Foley
  • 6,817
  • 8
  • 57
  • 90
14
votes
3 answers

Azure Web App Temp file cleaning responsibility

In one of my Azure Web App Web API application, I am creating temp files using this code in a Get method string path = Path.GetTempFileName(); // do some writing on this file. then read var fileStream = File.OpenRead(path); //…
14
votes
13 answers

VS to Azure Publish failure: Socket Error 10054

I've seen a few posts around on this, none have solved my issue. I'm trying to complete a web deploy to an Azure site but whilst updating the files I get warnings: MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4270,5)…
14
votes
2 answers

How can I remove excessive response header information from Azure Web-Apps?

I have an MVC project that I deploy on Azure Web-Apps. I'm trying to remove the excessive header information. The reason I'm trying to remove this information is because it's a standard security practice. (Reference) I'm trying to remove the below…
Emre Kenci
  • 2,715
  • 4
  • 26
  • 35
14
votes
2 answers

Very slow Kudu deployments on Azure Websites

I have a customized deploy.cmd file that I use for deploying my Azure website. It does a few custom things like installing nodejs versions of Typescript and a minifier, and then running unit tests, before building and deploying the website…
Ken Smith
  • 20,305
  • 15
  • 100
  • 147
14
votes
4 answers

azurew website continuous deployment - Web Deploy cannot modify the file 'XXX' on the destination because it is locked by an external process

I'm running into the following error when trying to deploy an azure website via TFS continuous deployment. I'm using the TfvcContinousDeploymentTemplate.12.xaml build definition template. Exception Message: Web Deploy cannot modify the file…
TWilly
  • 4,863
  • 3
  • 43
  • 73
14
votes
1 answer

What versions of .NET are supported on Azure Web Sites?

To avoid more questions like Azure Websites, Can one deploy .NET 4.5.1 websites? and Azure Websites, Can one deploy .NET 4.5.2 websites, is there a web site that lists all the .NET Frameworks that are supported in Azure Web Sites?
Dan Friedman
  • 4,941
  • 2
  • 41
  • 65
14
votes
2 answers

How do I store files on Windows Azure Web Site?

I just read an article about Windows Azure Web Site and would like to evaluate this service. My company just developed an ASP.NET MVC based website that enables our customers to download files we provide as well as upload files. Both works based on…
Mephisztoe
  • 3,276
  • 7
  • 34
  • 48
13
votes
3 answers

Azure app service - how to disable weak ciphers?

I have a web application running as an Azure App Service. We've had a recent security review and it highlighted that weak ciphers are available and these should be disabled. The ciphers…
Matthew van Boheemen
  • 1,087
  • 3
  • 13
  • 21
13
votes
1 answer

Is TLS 1.3 available on Azure App Services?

Is TLS 1.3 available for an Azure App Service? It came up in a recent security review, but I can't see anything which says this is available. If it is available, how do I enable this?
Matthew van Boheemen
  • 1,087
  • 3
  • 13
  • 21
13
votes
3 answers

Can Application Insights be used with a Linux Web App running .NET Core 3 runtime?

I am adding an Azure Application Service Plan to my resource group. I'd like it to be a Linux Host for a .NET Core 3 Web API. Furthermore, I'd like to use Application Insights. However, when using the Azure Portal, the option to add Application…
13
votes
3 answers

Changing the target framework in an Azure web app

I would like to publish an ASP.NET Core 2.1 website to Azure using an Azure Web App to host it. When creating the Azure Web App on the Azure portal, one of the settings is "Runtime Stack". In this case I would set it to ".NET Core 2.1" to match the…
Gary
  • 1,735
  • 4
  • 19
  • 36