Find file History
Pull request Compare This branch is 145 commits ahead of WouterDeKort:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
azuredeploy.json
azuredeploy.parameters.json

README.md

Deploys web app with required settings defined

Description

This template allows you to deploy an app service plan and a basic Windows web app with storage account, required to execute autoscaler app. Deploys to shared web app to minify spending - so, you'll need either to define bigger web app or find a way to ping it once in 5 minutes

Example configuration for deployment

I did some preparations for publishing via Visual Studio or MsDeploy, but, for my deployments - I'll use just build in Release, which will output all required files to a folder ~\autoscalingApp\WebJob\ - then, I'll use simple MsDeploy command to deliver it on web app:

"$(msdeploy.Path)" -allowUntrusted="True" -enableRule:DoNotDeleteRule -verb:sync -source:contentPath="~\autoscalingApp\WebJob\" -dest:contentPath="$(deploy.iisSiteName)/App_Data/jobs/continuous/",computerName="https://$(deploy.iisSiteName).scm.azurewebsites.net:443/msdeploy.axd?site=$(deploy.iisSiteName)",username="$(user)",password="%userPwd%",authType="Basic"