This is a demo application which shows how to use the Azure Deploy button with a custom Azure Resource Manager template that sets application settings on your website. To see how this is done, take a look at the azuredeploy.json file at the root of the repository.
anujstam/HelloWorldMVCAppSettingDemo
Example of deploying an MVC application with app settings using the Azure Deploy Button
C#