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

Azure Website slow to serve static JS/CSS but not binary

I have an Azure Website/Web App that is incredibly slow to serve static JS and CSS files but seems perfectly fine serving binary. To test the problem I uploaded two 30MB files, one big.js and the other big.rar. The JS file downloads at around…
Matt Jenkins
  • 2,824
  • 1
  • 30
  • 34
34
votes
7 answers

How to resolve error 500 on Azure web app?

What I have: VS2015U2 ASP.NET 5 MVC 6 website Deployed to Azure Web App The site works locally When I deploy to Azure I get internal server error (500) I'm unable to Attach a debugger since they messed up something with the latest versions (tried…
f0rt
  • 1,801
  • 3
  • 17
  • 30
34
votes
3 answers

How to restart Azure App Service Instance

I have an Azure App Service that contains 1 Web App with 1 slot. I have 2 instances assigned to the App Service. This week, the App Service shows about 60% CPU usage, and its usually about 10-15%. Upon further investigation, it looks like 1 of…
33
votes
2 answers

What's the difference between APPINSIGHTS_INSTRUMENTATIONKEY configured by Azure and ApplicationInsights:InstrumentationKey?

There is some confusion in the Application Insight configuration. It can be configured in the application itself using Visual Studio and in the App Service using Azure Portal. Visual Studio When I use Visual Studio to add Application Insights…
33
votes
6 answers

Could not load file or assembly System.Data.SqlClient, Version=4.2.0.2 when I use System.Data.SqlClient Version 4.4.3

I use System.Data.SqlClient Version 4.4.3 for all .NET Standard 2.0 class libraries in my ASP.NET Core 2.0 project. Why do I get Could not load file or assembly 'System.Data.SqlClient, Version=4.2.0.2, Culture=neutral,…
33
votes
3 answers

How to read Azure web site app settings values

I am trying to configure some key/value pairs for my Azure web application using app settings section on Windows Azure preview portal. Now I am trying to read values like below ConfigurationManager.AppSettings["MyWebApp.DbConnectionString"]; but…
Ashutosh B Bodake
  • 1,304
  • 1
  • 19
  • 31
32
votes
5 answers

What is the difference between "Azure Web app" and "Azure App Service"?

I'm quite new to Azure, trying to learn how to explore what are the possibilities of publishing a website on azure, to be a bit more at ease to do the the AZ-204. On the azure dashboard, I can create "Azure web apps", "Azure app service"(not…
J4N
  • 19,480
  • 39
  • 187
  • 340
32
votes
5 answers

How to create a csr file for azure web app

I need to create a csr file to give it to someone. The csr file is for a SSL certificate for a azure web app. When I google I find inconsistent information about where to generate the csr file. Some sources say: I have to create the csr file on the…
HelloWorld
  • 4,671
  • 12
  • 46
  • 78
31
votes
3 answers

Azure App Service Plan: Function vs App Service?

When hosting an Azure Function in an App Service Plan, are there any significant differences compared with using an App Service (EDIT: for a restful API) associated with the same App Service Plan? I assume the only difference is that the Function…
scottctr
  • 683
  • 2
  • 6
  • 19
31
votes
1 answer

Configuring AppSettings with ASP.Net Core on Azure Web App for Containers: Whither Colons?

Consider this appsettings.json: { "Parent": { "ChildOne": "C1 from secrets.json", "ChildTwo": "C2 from secrets.json" } } According to Microsoft…
John Reilly
  • 5,791
  • 5
  • 38
  • 63
31
votes
2 answers

Azure App Service Memory Usage. Where to see full breakdown?

We recently ran out of memory on our sites under an Azure App Service Plan. This threw a "Memory Resource Exhausted" error on all Apps. Clicking "CPU Percentage and Memory Percentage" shows a spike to 82% in last 24 hours. Navigating to "Metrics per…
ttugates
  • 5,818
  • 3
  • 44
  • 54
30
votes
3 answers

Invalid access to memory location when deploying Azure web app

I have an Azure web app that I'm deploying from VSTS. This was working fine previously but is now returning with the following: 2018-08-07T14:24:57.1655319Z Info: Adding directory…
ADringer
  • 2,614
  • 36
  • 63
30
votes
3 answers

Where to put SQLite database file in Azure App Service?

Q1: Where do you think is the right place to put a SQLite database file (database.sqlite) in Azure Web App file system? For example: D:\home\data\database.sqlite D:\home\site\database.sqlite D:\home\site\wwwroot\database.sqlite other? Q2: What…
Grief Coder
  • 6,508
  • 9
  • 38
  • 51
30
votes
5 answers

How do I set an ADO.NET Entity Framework connection string via the Windows Azure (Preview) Management Portal?

In the Windows Azure (Preview) Management Portal you can change the configuration options for web sites (see http://www.windowsazure.com/en-us/manage/services/web-sites/how-to-configure-websites/#howtochangeconfig). I currently set the connection…
29
votes
7 answers

How can I determine the IP address of an Azure hosted WebApp

I am using Azure platform for a webapp. I need to find out IP address of my web app so that I can whitelist it to an external server where I have created APIs. Is NSLookup the correct way to determine the IP address for whitelisting?
Pawan Singewar
  • 331
  • 1
  • 3
  • 7