I have an ASP.NET MVC 4 web site. I'm new to Windows Azure, so I thought I would try out doing a whole publish cycle. I'd like to do a build a publish to a staging area when a check-in happens. Then, if I like the change, I'd like to push them to production.
Is this possible with Windows Azure web sites? If so, how? Currently, I have a Windows Azure Web Site. I can successfully publish the site to Windows Azure. However, I can't seem to figure out how to do staging / production configurations.
Thank you for your help.
Brady Gaster blogged about this a few days ago, giving you 2 options:
In newer Resource Model, Azure provide deployment slots ( App Service | Deployment | Deployment Slots ) which could be used with publishing profile and sticky configuration settings ( App Service | Settings | Application settings | App Settings | put your configuration here and select Slot Setting check box to make it exclusive to the environment like staging and production.
Check the official Microsoft link for more info
Note: This question is very old and suggested solution is on Cloud services, the solution to this problem is provided by Azure's newer model Resource Manager and App service, which gives you Deployment slots which could be swapped any time by the admin and gives you the ability to make slot based sticky configuration (as asked in the question, i.e. a way to make the environment based settings).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With