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
23
votes
5 answers

Upgrading Node on an Azure website?

I'm trying to run some pre deployment tasks (unit tests etc) with NPM on an Azure website, however the version of node on the VM is v0.10.32, the current version of node is v4.2.4. I have non administrative access to the command line via the SCM…
JMK
  • 27,273
  • 52
  • 163
  • 280
23
votes
6 answers

Long waiting (TTFB) time for scripts / styles on Azure Website

I have this intriguing problem on Azure Website. My website uses 4 script files and 3 style files, each minified. They are not so big, bigest has near 200 KBs. Website had already started. Azure's Always On option is turned on. When I call to WebApi…
Radosław Maziarka
  • 655
  • 1
  • 6
  • 16
23
votes
4 answers

How to prevent Azure webjobs from being swapped in Azure website production <--> staging slots

I have an Azure website with a production and staging slot with multiple instances. I run several Azure webjobs on the site, some of which are triggered others that are continuous. I understand triggered webjobs will only run once on one instance. …
Sandeep Phadke
  • 862
  • 9
  • 23
23
votes
3 answers

Azure Websites Application Insights - switching config

I have an Azure Website. For the sake of this question, the production version of the website runs on example.com, and a test version of the website runs on sandbox.example.com. The only difference between the two is that they have different…
Brendan Green
  • 11,676
  • 5
  • 44
  • 76
23
votes
3 answers

Azure websites deploy specific web project

I have a solution with multiple web projects. I want to run them inside Azure Websites, each as a separate website, from the same Git repository. How do I specify which website runs which web project? AppHarbor handles this with multiple solution…
CMircea
  • 3,543
  • 2
  • 36
  • 58
22
votes
4 answers

Cannot GET index.html Azure Linux Web App

We created a Linux Web App in Microsoft Azure. The application is static written with React (html and Javascript). We copied the code into the wwwroot folder, but the application only showing only hostingstart.html and when we try to get page…
22
votes
2 answers

How do I set up FTP access to Azure App Service?

I've used Visual Studio to "publish" my website to Azure. It seems to be working OK. Now I would like to be able to FTP files up to this App Service. But how do I set up my FTP credentials within this App Service so I can authenticate via FTP? I was…
Mark Challice
  • 411
  • 1
  • 4
  • 5
22
votes
2 answers

How can I get a list of TCP connection statuses for an Azure App Service app?

We have an Azure App Service Plan with 20+ applications. One of the apps is causing port exhaustion. All the apps on the pricing plan lose connectivity as a result. Tech support indicate TIME_WAIT status TCP connections are predominant when the port…
Sentinel
  • 3,582
  • 1
  • 30
  • 44
22
votes
4 answers

How to link exceptions to requests in Application Insights on Azure?

We are using Owin on Azure for a REST service, and have to report to Application Insights directly. We want to log exceptions and requests. Right now we have this: using AppFunc = Func, Task>; public class…
22
votes
6 answers

Azure website keeps throwing the error "An attempt was made to access a socket in a way forbidden by its access permissions"

I have a website running as a web app on a dedicated Azure plan. It connects to a Redis, SQL Azure and a MongoDB backend. The website has been running fine for weeks now and then without any new code I am now getting lots of socket exceptions…
runxc1 Bret Ferrier
  • 8,096
  • 14
  • 61
  • 100
22
votes
2 answers

Azure WebJobs - Can I use Async Methods?

I was wondering if the Azure WebJobs SDK can trigger async methods? Currently I have a method that looks like the following: class Program { static void Main(string[] args) { var host = new JobHost(); host.RunAndBlock(); …
ericb
  • 3,400
  • 1
  • 21
  • 21
22
votes
3 answers

App pool timeout for azure web sites

is there a way to set the timeout of an app pool of a web-site running under azure sites. I have a site running there and it seems like it needs to spin up again when it has been idle for a while.
kay.one
  • 7,622
  • 6
  • 55
  • 74
21
votes
3 answers

Visual Studio 2022 Debug On Remote Azure Server

I appears that the Cloud Explorer has now been retired in Visual Studio 2022. This was something that I used many time a day and will sorely be missed. I used to be able in the Cloud Explorer select the app service, right click, and attach the…
21
votes
4 answers

Azure App Service Getting error while deploying REACT JS application

Getting error while deploying to azure app services from the editor. 4:48:55 pm ppdedsrftwu2-appservice1: Starting deployment... 4:48:56 pm ppdedsrftwu2-appservice1: Creating zip package... 4:49:00 pm ppdedsrftwu2-appservice1: Zip package size: 1.09…
21
votes
2 answers

Azure deployment slots and database migrations

TLDR: How can an app running in a staging slot know it is in staging and connect to a test database/run migrations on the test database? And, how can that same app in the staging slot automatically become aware it has been swapped to live production…
Caius Jard
  • 72,509
  • 5
  • 49
  • 80