Quantcast
Channel: Software Development and Infrastructure in the Cloud » Azure
Viewing all articles
Browse latest Browse all 9

App.config transforms for Worker Role on Azure

$
0
0

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:

  1. Creation of transform for app.config
  2. 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


Viewing all articles
Browse latest Browse all 9

Trending Articles