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
17
votes
9 answers

Azure Function - Failed to start a new language worker for runtime: dotnet-isolated

I have a dotnet 5 function app that I've been building and deploying from a devops pipeline for a couple of weeks. Following the most recent release, I see the following error in App Insights: Exception type System.TimeoutException Exception…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
17
votes
3 answers

Azure Devops Pipeline returning: 'Failed to deploy web package to App Service. Internal Server Error (CODE: 500)'

I am trying to use Azure DevOps pipelines to build a .NET 5 (Core) web app and deploy it to my Azure app service. I can't find any complete examples in the documentation that achieve this so I'm following…
glen4096
  • 674
  • 1
  • 9
  • 19
17
votes
12 answers

Azure Pipeline Deployment to App Service fails: "Resource doesn't exist. Resource should exist before deployment". But App Service is running

I'm doing the Microsoft tutorial "Create Multi-stage Pipeline", exercise "Promote to Dev Stage": https://learn.microsoft.com/en-us/learn/modules/create-multi-stage-pipeline/4-promote-dev This involves creating an Azure App Service, in my case named…
Simon Elms
  • 17,832
  • 21
  • 87
  • 103
17
votes
10 answers

Azure YAML Deployment failing with "Error: Failed to deploy web package to App Service. Conflict (CODE: 409)"

Hoping someone has seen this also. Our last successful build was on Dec 6th 2019. New deployment attempts are failing at the deployment step (Same issue in the Build and Release pipelines). Error is reported as follows: Got service connection…
Bibberty
  • 4,670
  • 2
  • 8
  • 23
17
votes
8 answers

WebJob cannot be added from portal if deployment form source control is configured

Today we experienced the following message in Azure Portal WebJob cannot be added from portal if deployment form source control is configured. We assume that this is a new feature hence the spelling is incorrect: 'deployment form source control'…
Daniel
  • 9,491
  • 12
  • 50
  • 66
17
votes
0 answers

ASP.NET Core 2.2 Site Warmup

I've migrated a .NET Framework 4.6 WebApi to .NETCore 2.2 and am having trouble getting the IIS ApplicationInitialization module to call my endpoints on a startup/slot swap/scale out. I added a Web.Config like:
pseabury
  • 1,615
  • 3
  • 16
  • 30
17
votes
1 answer

Increase startup timeout for Azure WebApp for Containers

We run Java Spring Boot app in a Docker on Azure WebApp for Containers. Single B1 instance is enough for the app to run, however Spring Boot is pretty slow at startup and might take over 240 seconds for the app to start. As the result Azure WebApp…
17
votes
4 answers

How to secure access from App Service To Azure Sql Database using virtual network?

Scenario I want to use virtual network in order to limit access to Azure Database only from my App Service, so that I can turn of "Allow access to App Services" in firewall settings What I have done: I went to App Service -> Networking -> VNET…
17
votes
3 answers

ConvertFrom-Json : Invalid JSON primitive:

I was trying to run a script that fetches JSON file from CMS endpoint, pass it on the pipeline to convertfrom-json. But, I get an error saying Invalid JSON primitive. ConvertFrom-Json : Invalid JSON primitive: . At…
H Bala
  • 1,271
  • 2
  • 14
  • 28
17
votes
1 answer

Azure Memory Resource Exhausted

I'm currently hosting several dozen websites in Azure and recently started seeing a "Memory Resource Exhausted" warning within the portal blade for each web app: I'm hosting my sites across two S3 Standard (Large) app service plans, I'm getting the…
Andy Mehalick
  • 993
  • 8
  • 19
17
votes
3 answers

How to Connect Azure Web App to Azure SQL Database

Azure has changed a fair bit from a year ago when I played with it. I have a web app, and a Sql DB in my Azure resource group. I want my web app to read from my DB. I made a firewall rule so that my app can read from the DB at my workstation…
sheamus
  • 3,001
  • 4
  • 31
  • 54
17
votes
1 answer

How do we use CloudConfigurationManager with asp.net 5 JSON configs?

Asp.net 5 has a new configuration system which utilizes json files for settings. You have to manually select the json file you want loaded as your configuration with the .AddJsonFile(string fileName) method of the new Configuration class.…
tom.dietrich
  • 8,219
  • 2
  • 39
  • 56
17
votes
2 answers

Why would azure be restarting website when i do a deployment slot swap?

I've a .net 4.5 website running on Azure Websites. I've a staging deployment set up. I warm up both sites and then i run the swap process (both from azure portal and from Azure powershell). No matter what I try the swapping process restarts my…
17
votes
2 answers

Meaning of "Always On" setting on Azure Web Site

We are using free BizSpark subscription on Azure and hosting our application as Azure Web Site. We periodically struggle with unexpected site shutdowns what's very painful for our application since it has a lot of background process running. "Always…
Artyom Pranovich
  • 6,814
  • 8
  • 41
  • 60
17
votes
2 answers

Prevent Azure Website to set WAWebSiteID and ARRAffinity cookies

I have a Windows Azure Website in shared mode. Now Azure obviously adds two cookies to my web site: WAWebSiteID and ARRAffinity. I learned that those cookies are there to enable sticky sessions with the Application and Request Routing feature (ARR)…
Sebastian P.R. Gingter
  • 5,955
  • 3
  • 31
  • 73