Questions tagged [azure-web-app-service]

Use this tag for questions relating to web applications residing on Azure. Azure Web Apps is a service 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, Node.js, PHP and Python.

See https://docs.microsoft.com/en-us/azure/app-service/app-service-web-overview for further information.

9021 questions
240
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,432
  • 8
  • 40
  • 56
144
votes
15 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
  • 21,678
  • 35
  • 151
  • 304
121
votes
9 answers

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 way I have spotted to see exactly what files Azure is hosting. I'd love to be able to see exactly what files are there. I can…
John Reilly
  • 4,594
  • 4
  • 32
  • 52
119
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?
97
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,155
  • 1
  • 9
  • 13
94
votes
5 answers

Connecting to Azure website via FTP

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 is failing. TIA.
Klaus Nji
  • 15,695
  • 23
  • 96
  • 171
89
votes
1 answer

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,035
  • 1
  • 7
  • 9
80
votes
2 answers

Can't rename 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,214
  • 5
  • 51
  • 85
68
votes
10 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
  • 1,923
  • 2
  • 12
  • 14
60
votes
12 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…
57
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
  • 4,660
  • 10
  • 31
  • 65
55
votes
5 answers

Azure: Moving an App Service to another existing App Service Plan

I'm attempting to move an App Service from one service plan to another. When I use the portal to do so, the other App Service plan is not displaying. Both App Services are in the same Location and Resource Group. The two App Services Plans are in…
52
votes
1 answer

Use SVG in Windows Azure Websites

Does anyone know if it is possible to add the SVG mime type to a Windows Azure Website? I tried with a web.config file but that only broke my website. Is this a limitation of the current preview or am I missing something? thanks for your help!
cmplieger
  • 6,375
  • 15
  • 49
  • 80
46
votes
2 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
  • 1,972
  • 1
  • 17
  • 27
45
votes
2 answers

Using a LocalDb MDF file on Azure

I am developing an ASP.NET MVC website, which I want to host on Azure Websites. While in development, I have been using an MDF file in my App_Data directory with a connection string looking like this:
Mark Heath
  • 45,254
  • 26
  • 128
  • 188
1
2 3
99 100