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

Azure web app cannot find the connection string

I am just trying to publish my application in Azure as a Web App. I have been facing issue about the connection string. The server just can't identify what the connection string is, as you may see from the error below: Unhandled Exception:…
renakre
  • 8,001
  • 5
  • 46
  • 99
15
votes
5 answers

React App not starting in azure app service

I've deployed a simple react app to azure app service and it won't start: How do I get the app to run index.html?
15
votes
3 answers

Azure Managed Identity from within a docker container running locally

I am running a docker container consisting of a asp.net core 2.2 api. This api needs access to Azure key vault and I have signed in into Visual studio with a user that has the right access policies on the Key Vault to retrieve secrets. However, when…
15
votes
1 answer

azure App service deploy as code or container?

I have apis written in asp .net core which can be easily containerized, i want to deploy these apis in azure app service, but i am not able to decide whether i should containerize these api and deploy as containers in web app or i can deploy…
ankush
  • 949
  • 2
  • 14
  • 33
15
votes
2 answers

Azure DevOps unable to deploy to Azure Web App

Am currently trying to deploy an app from a Release Pipeline under Azure DevOps owned by Company A to an Azure App hosted on Azure owned by Company B. Keep on getting this error when attempting to release stop the Azure App: Error: Failed to get…
15
votes
1 answer

Type or Namespace Name "AspNetCore" does not exist error when publishing to Azure

In Visual Studio 2017, I build my ASP.NET Core 2.1 app with no errors but when I try to publish it to Azure, I get errors that indicate I'm missing a reference to an assembly -- see below: But I'm not missing a reference and where these errors…
Sam
  • 26,817
  • 58
  • 206
  • 383
15
votes
1 answer

How Azure load balances scaled out App Service plan?

I have one Azure App Service in which I have created 5 instances using App Service Plan Scale Out option. Now I am not sure how does Azure load balances requests between this instances? I am not seeing any load balancer for it. Also how can I know…
15
votes
8 answers

How to set redirect_uri protocol to HTTPS in Azure Web Apps

I am facing the following problem. I have an ASP Net Core 2 web app that I want to deploy to Azure. The app authentication is integrated with the Azure Active Directory, so when I try to login the following requests happen: GET…
15
votes
4 answers

how to prevent azure from scaling out additional instances until they are ready?

We are having issues with an Azure Application Service. One of our webservices (MVC) caches data from the database at startup (Application_Start) - this takes approximately 3 minutes. Until this is ready we can't handle requests. This is known so…
Lance
  • 312
  • 4
  • 11
15
votes
5 answers

Using Application Insights with ILoggerFactory

I'm trying to log exceptions to Application Insights. I succeeded in doing this by calling TelemetryClient.TrackException directly. However, I would like to abstract away from this in my code in case I'd want to log to other platforms in the future,…
15
votes
4 answers

Unable to connect to the Remote Debugging - Web App Azure

I am trying to remote debug an Asp.Net Core Web Application (with Web API) project deployed as an Azure App Service with Visual Studio 2017 Professional. Followed the instructions as documented here. Essentially, using the Server Explorer-->App…
15
votes
7 answers

Open additional ports on Azure Web App

I have recently moved a .NET Web API 2 app from an Azure Cloud Service to an Azure Web App. However, we have a legacy application that needs to communicate with the API on ports 8080 and 444. Is there a way of opening additional ports on a web app?
Dan O'Leary
  • 2,660
  • 6
  • 24
  • 50
15
votes
6 answers

additional paths with azure web app returns error

I made a react app using create-react-app. I am trying to deploy it on azure web app. I created a build and deployed using FTP. When there is the internal redirect from the react the app I am able to see the webpage. But when I try to directly go to…
StarLord
  • 1,012
  • 1
  • 11
  • 22
15
votes
1 answer

Azure Docker Container - how to pass startup commands to a docker run?

Faced with this screen, I have managed to easily deploy a rails app to azure, on docker container app service, but logging it is a pain since the only way they have access to logs is through FTP. Has anyone figured out a good way to running the…
alexanderkustov
  • 496
  • 1
  • 5
  • 16
15
votes
2 answers

Culture is suddenly not supported anymore on Azure web app

Out of the blue our Azure web app is spewing out errors regarding a Culture that is not supported. We load up a list of countries to show on the front page but this is suddenly giving errors. The same code is used on other various web apps as well…
Kevin Cloet
  • 2,956
  • 1
  • 19
  • 36