azure-web-sites

Which version of node.js is running on Windows Azure Web Sites?

心不动则不痛 提交于 2020-01-12 17:21:18
问题 Which version of node.js is actually running on Windows Azure Web Sites? 回答1: There are many versions of node preinstalled on the Windows Azure Web Sites servers and you can choose which one gets used by specifying your minimum required version in your package.json file. Instructions here. The versions available change on a regular basis, but to give you a sense, the currently available versions (as of November 1, 2013) is: 0.6.17, 0.6.20, 0.8.2, 0.8.19, 0.8.26, 0.10.5, 0.10.18, 0.10.21. 回答2:

Does Azure Web Apps share disk between multiple instances?

馋奶兔 提交于 2020-01-12 14:58:31
问题 According to what David Ebbo said in the Azure runtime environment article, when you spin up 2 or more instances the files in the file system are moved to Azure Storage (Azure Blobs or Files) and are shared between all instances of the same Web Apps. Which means when a Web App Instance #1 create a Reamem.txt file in the file system, a Web App Instance #2 can modify, remove etc. this file. Does Azure Web Apps really share disk between multiple instances? If yes, is there any way to change this

Thread management in asp.net core / kestrel

耗尽温柔 提交于 2020-01-12 06:51:06
问题 I'm troubleshooting performance / scalability issues with an asp.net app we've migrated to asp.net core 2.0. Our app is hosted on azure as an app service, and is falling over far too easily with any moderate traffic. One thing that's puzzling me is how multiple concurrent requests are handled. From what I've read here, Kestrel uses multiple event loops to handle your requests. But the actual user code is handled on the .net thread pool (that's from here). So, as an experiment - I've created a

Setting up a custom domain with an Azure Function app

*爱你&永不变心* 提交于 2020-01-11 02:16:09
问题 I have an Azure Function app running on dynamic pricing and am trying to set up a custom domain. I have added and verified the domain and setup the CNAME record accordingly. The custom domain shows up correctly as the "URL" when I view the App Service settings in the Azure portal. If I try to use this domain, however (to access an HTTP trigger function), I am returned with "Error 404 - Web app not found." When I look at the Function URL in the portal, it still shows the x.azurewebsites.net

Hosting Flask(Python) app throws CGI error

亡梦爱人 提交于 2020-01-09 11:30:09
问题 I have followed all the steps as per the azure website. I can see the python 3.6 version running on Azure. I have installed the python 3.6 extension and added a proper web.config file. When I try to open my URL I am getting the below error http://myuniqueappname114.azurewebsites.net/ Any idea how to fix this error pls 回答1: Generally, the issue was caused by your web.config file configured incorrectly to not start up your flask app from IIS. Here is my case for deploying flask Hello World app

“No OpenID endpoint found” on Azure Website

回眸只為那壹抹淺笑 提交于 2020-01-09 11:11:23
问题 I have a strange issue with a MVC 3 app running as an Azure Website. I have had issues with Azure in the past, but the new Website concept works almost perfectly, except for this: DotNetOpenAuth.Messaging.ProtocolException: No OpenID endpoint found. This only happens with Google, only on Azure. Running locally it works fine, running on AppHarbor it works fine, but on Azure every attempt to use Google for OpenID login will result in a server error due to that exception (tracked using Airbrake)

Using a LocalDb MDF file on Azure

二次信任 提交于 2020-01-09 04:38:26
问题 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: <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=MyApp;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\MyApp.mdf;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" /> To try it out on Azure, I was hoping I could leave this

How to SSH in to different containers in Multi Container Azure App Service

别说谁变了你拦得住时间么 提交于 2020-01-07 08:31:32
问题 I want to SSH to my containers created in an Azure App Service. These are Linux based containers and used Docker Compose to deploy these to Azure App Service. I have followed the article to enable SSH. For one of the container (Container A) I am able to SSH (exposed port 2222, 80 for this). But I would like to SSH to other containers (Container B) too. I have exposed another port 2223 for Container B and followed the same steps in that document. When I try to access them using the command ssh

How to SSH in to different containers in Multi Container Azure App Service

故事扮演 提交于 2020-01-07 08:31:03
问题 I want to SSH to my containers created in an Azure App Service. These are Linux based containers and used Docker Compose to deploy these to Azure App Service. I have followed the article to enable SSH. For one of the container (Container A) I am able to SSH (exposed port 2222, 80 for this). But I would like to SSH to other containers (Container B) too. I have exposed another port 2223 for Container B and followed the same steps in that document. When I try to access them using the command ssh

Azure Website Single Sign On accessing Azure Mobile Service from Azure Active Directory as User

一笑奈何 提交于 2020-01-07 07:50:13
问题 I have an ASP.NET MVC website deployed as Azure website (called website ). That website has a section that needs authorization. I already have set up Windows Azure Active Directory ( WAAD ) to protect access to that section. Once that protected section has loaded, it will load a Javascript app that allows integration with the Azure Mobile Service. I also have a separate Azure Mobile Service that I use for data storage (called mobserv ). I want to access mobserv table and api endpoints from