azure-web-sites

Azure webapp: Stack settings

半城伤御伤魂 提交于 2020-05-08 15:02:22
问题 I can set my stack for a webapp through the portal: I deploy my infra through an ARM template: "apiVersion": "2015-08-01", "type": "Microsoft.Web/sites", "name": "[variables('name')]", "location": "[parameters('location')]", "dependsOn": [ "[concat(parameters('customer'),'-','webapp-small','-' , 'plan','-',parameters('env'))]" ], "properties": { "clientAffinityEnabled": false, "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', concat(parameters('customer'),'-','webapp-small','-' ,

Azure webapp: Stack settings

馋奶兔 提交于 2020-05-08 15:01:47
问题 I can set my stack for a webapp through the portal: I deploy my infra through an ARM template: "apiVersion": "2015-08-01", "type": "Microsoft.Web/sites", "name": "[variables('name')]", "location": "[parameters('location')]", "dependsOn": [ "[concat(parameters('customer'),'-','webapp-small','-' , 'plan','-',parameters('env'))]" ], "properties": { "clientAffinityEnabled": false, "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', concat(parameters('customer'),'-','webapp-small','-' ,

React App not starting in azure app service

痴心易碎 提交于 2020-05-08 09:22:05
问题 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? 回答1: If you deployed to a Node Linux Web App the default document would be hostingstart.html located in /home/site/wwwroot/ . According to this: When you create a Node.js app, by default, it's going to use hostingstart.html as the default document unless you configure it to look for a different file. You can use a JavaScript file to configure your default document. Create a file

Is the web.config file required for a Node/Next/React App running on Azure App Service (Linux)?

僤鯓⒐⒋嵵緔 提交于 2020-04-30 19:18:11
问题 I have a basic Node/Next/React App running on Azure. I read many blogs/threads and everyone say I need to place the web.config file at the root of my project. I do NOT have this file but everything seems to be running ok so far so here come my questions: Is it still required? Is it required only for Azure App Service (Windows)? Why do I need it? What's the purpose of the file? You can find my repo here: https://github.com/ddon-90/tog-prototype Thanks in advance 回答1: A web.config is a

Is the web.config file required for a Node/Next/React App running on Azure App Service (Linux)?

江枫思渺然 提交于 2020-04-30 19:17:26
问题 I have a basic Node/Next/React App running on Azure. I read many blogs/threads and everyone say I need to place the web.config file at the root of my project. I do NOT have this file but everything seems to be running ok so far so here come my questions: Is it still required? Is it required only for Azure App Service (Windows)? Why do I need it? What's the purpose of the file? You can find my repo here: https://github.com/ddon-90/tog-prototype Thanks in advance 回答1: A web.config is a

YSOD Could not load file or assembly CMS.DataEngine - after Kentico 11.0.0 upgrade to Kentico 12 SP1

↘锁芯ラ 提交于 2020-04-30 10:11:04
问题 Just finished upgrading Kentico 11.0.0 with MVC, to Kentico 12 SP1 using https://docs.kentico.com/k12sp/installation/upgrading-to-kentico-12 No issues during upgrade. Kentico CMS is coming up fine on local IIS and Azure app. MVC site came up fine on local IIS. But staging MVC site is showing this error in Azure app: Server Error in '/' Application. Could not load file or assembly 'CMS.DataEngine, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies.

YSOD Could not load file or assembly CMS.DataEngine - after Kentico 11.0.0 upgrade to Kentico 12 SP1

只愿长相守 提交于 2020-04-30 10:09:24
问题 Just finished upgrading Kentico 11.0.0 with MVC, to Kentico 12 SP1 using https://docs.kentico.com/k12sp/installation/upgrading-to-kentico-12 No issues during upgrade. Kentico CMS is coming up fine on local IIS and Azure app. MVC site came up fine on local IIS. But staging MVC site is showing this error in Azure app: Server Error in '/' Application. Could not load file or assembly 'CMS.DataEngine, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9' or one of its dependencies.

Requesting refresh token fails.No refresh tokens were found in the token store

我是研究僧i 提交于 2020-04-30 07:41:46
问题 I'm trying to get refresh token for Google from App Services,but I can't. Log says 2016-11-04T00:04:25 PID[500] Verbose Received request: GET https://noteappsvr.azurewebsites.net/.auth/login/google?access_type=offline 2016-11-04T00:04:25 PID[500] Verbose Downloading OpenID configuration from https://accounts.google.com/.well-known/openid-configuration 2016-11-04T00:04:25 PID[500] Verbose Downloading OpenID issuer keys from https://www.googleapis.com/oauth2/v3/certs 2016-11-04T00:04:25 PID[500

Requesting refresh token fails.No refresh tokens were found in the token store

旧街凉风 提交于 2020-04-30 07:41:04
问题 I'm trying to get refresh token for Google from App Services,but I can't. Log says 2016-11-04T00:04:25 PID[500] Verbose Received request: GET https://noteappsvr.azurewebsites.net/.auth/login/google?access_type=offline 2016-11-04T00:04:25 PID[500] Verbose Downloading OpenID configuration from https://accounts.google.com/.well-known/openid-configuration 2016-11-04T00:04:25 PID[500] Verbose Downloading OpenID issuer keys from https://www.googleapis.com/oauth2/v3/certs 2016-11-04T00:04:25 PID[500

How can I deploy production npm build of react app to Azure App Service

跟風遠走 提交于 2020-04-30 07:19:05
问题 I'm trying to deploy the npm build version of my react app to azure web service through ftp. I moved the build folder, but when I load my application's URL, the default screen loads with Hey Node Developers! . I can deploy via github and kudu. However, I don't believe that's a production quality application since it's not built using npm run build with create-react-app . I've been through this azure guide, as well as various blogs. I've also included the web.config file. Nothing has gotten my