Deploying Web Roles on Azure is really easy!
- Create multiple solution configurations
- Create web.config transforms
- Create multiple cloud configuration for the cloud project
- Create publish settings in order to use the correct combination of web.config transform + cloud configuration
- Done
Wow, this is wonderful for developers! No more worries about multiple file, packages, deploying instructions or installation manuals for IT Pro.
What about Worker Role???
Here is the complete solution in 2 steps:
- Creation of transform for app.config
- Include of transformed app.config file in the Azure deploy package
Creation of transform for app.config
http://vishaljoshi.blogspot.com/2010/05/applying-xdt-magic-to-appconfig.html
Include of transformed app.config file in Azure deploy package
http://blog.abstractlabs.net/2011/02/using-xdt-with-worker-role-appconfigs.html