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
246
votes
10 answers

What is the difference between an Azure Web Site and an Azure Web Role

What are the material differences between the new Azure Web Sites and the traditional Azure Web Roles for an ASP.NET MVC application? What reason would I choose a "web site" over a "web role" or vice versa? Let's assume that I would need equal…
Erv Walter
  • 13,737
  • 8
  • 44
  • 57
165
votes
12 answers

Azure: Is there a way to view deployed files in Azure?

Is there a file "view" available in Azure? When I log in to Azure to look at a website I've deployed there is no obvious see exactly what files Azure is hosting. I can see there's the Visual Studio Online option which allows you to live edit your…
John Reilly
  • 5,791
  • 5
  • 38
  • 63
147
votes
16 answers

Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue? Could not load file or assembly 'System.Web.Http.WebHost, Version=5.0.0.0,…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
129
votes
5 answers

How can I use NuGet packages in my Azure Functions?

Using Azure Functions, can I reference and use NuGet packages in my C# function?
112
votes
7 answers

What is the difference between an API App and a Web App?

I've been reading a few tutorials now on deploying Web Apps and API Apps to Azure. However, I am still a little unsure as to why you would use one over another. I can create a new .NET solution with API controllers and deploy this as a Web App, so…
envio
  • 1,315
  • 2
  • 10
  • 13
106
votes
15 answers

The configuration file 'appsettings.json' was not found and is not optional

The Azure error is: .Net Core: Application startup exception: System.IO.FileNotFoundException: The configuration file 'appsettings.json' was not found and is not optional. So this is a bit vague. I can't seem to nail this down. I'm trying to…
Frank
  • 1,261
  • 2
  • 9
  • 9
100
votes
2 answers

How do I change the name of an Azure Resource Group?

After the new model was implemented, all of my websites now belong to individual Resource Groups called "Default-Web-East" and all of my SQL databases belong to individual Resource Groups called "Default-SQL-East". This is confusing to say the…
Jay Mathis
  • 1,145
  • 2
  • 7
  • 9
100
votes
5 answers

Connecting to an Azure website via FTP using Azure login credentials

What login credentials do I use to connect to the FTP site that is listed on the dashboard of my Azure? I tried using the same credentials I use to log into Azure, but this failed.
Klaus Nji
  • 18,107
  • 29
  • 105
  • 185
91
votes
11 answers

What is going wrong with web deployment from Visual Studio and App service?

Suddenly Web Deployment started failing. Could not find file 'D:\home\site\wwwroot\App_Offline.htm'. I stopped the service, but deployment still fails. When I tried to delete any file from wwwroot in Kudu PowerShell UI I get error "404 file not…
Rambalac
  • 2,592
  • 2
  • 15
  • 14
90
votes
2 answers

Is it possible to rename an Azure App Service plan using the Azure Portal?

Is it possible to rename an App Service Plan? I have already tried in both the old and new portals and can't find any rename options.
Mark Cooper
  • 6,738
  • 5
  • 54
  • 92
77
votes
8 answers

"Use a tenant-specific endpoint or configure the application to be multi-tenant" when signing into my Azure website

I'm getting this error after I sign into my Azure website: AADSTS50194: Application 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx' is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications…
DharmaTurtle
  • 6,858
  • 6
  • 38
  • 52
67
votes
4 answers

Using an array in Azure web app settings

In my ASP.NET 5 (RC1) code I have an appsetting.json that looks something like this: { "SomeSettings": { "PropA": "ValueA", "PropB": [ "ValueB1", "ValueB2" ] } } These value are used when a…
Kenneth Kryger Sørensen
  • 2,702
  • 2
  • 22
  • 27
62
votes
5 answers

Azure App Service deploy Failed to get resource ID for resource type 'Microsoft.Web/Sites'

In the last 6 months I have been releasing with a pipeline in Azure DevOps, but today I receive the following error: 2019-09-25T14:24:38.4296875Z ##[section]Starting: Azure App Service Deploy: AS-ServiciosNegocio-API-UAT 2019-09-25T14:24:38.4419797Z…
61
votes
6 answers

How to rename the Azure WebApp URL

For numerous time it has happened that our DevOps guys have created a Azure WebApp with incorrect URL. Which forced us the delete the resource group (as group contains web app, sql azure etc.) And re-create. Is there a way to re-name /update the…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
60
votes
5 answers

TokenValidationParameters no longer working after upgrade to 5.0.0

I have the following code which was working when I was using System.IdentityModel.Tokens.Jwt, Version=4.0.20622.1351 private static void ConfigureAzureAD(IAppBuilder appBuilder) { appBuilder.UseWindowsAzureActiveDirectoryBearerAuthentication( …
MHOOS
  • 5,146
  • 11
  • 39
  • 74
1
2 3
99 100