title: Make the web.config dynamic
body: <p>We have an application and it is deployed across different pipeline dedicated for various release.</p>
  
  <p>For ex - pipeline A - dedicated for march release
  pipeline B - for June release etc</p>
  
  <p>Within each pipeline we various environment like DEV, SIT etc</p>
  
  <p>Now , with release , while deploying code , we need to make changes in the webcofig file , because the urls that we have in config are pipeline and environment dependent.</p>
  
  <p>For Example we have a web server - box 1 for dev environment .
  we have Pipeline A , Pipeline B deployed as websites. The web.config of pipeline A will look like -</p>
  
  <pre><code>&lt;configMap hostnameList="box1" name="DevEnvironment"&gt;
        &lt;include set="Dev" /&gt;
  &lt;/configMap&gt;
  &lt;configSet name="Dev"&gt;
  &lt;add key="someUrl" value="http://somapp-piplelineA-Dev.app.com"/&gt;
  &lt;/configSet&gt;
  </code></pre>
  
  <p>The web.config of pipeline B will look like -</p>
  
  <pre><code>&lt;configMap hostnameList="box1" name="DevEnvironment"&gt;
        &lt;include set="Dev" /&gt;
  &lt;/configMap&gt;
  &lt;configSet name="Dev"&gt;
  &lt;add key="someUrl" value="http://somapp-piplelineB-Dev.app.com"/&gt;
  &lt;/configSet&gt;
  </code></pre>
  
  <p>If you see this config , in the value for key someurl , the pipelineA was changed to pipelineB. These changes are tiresome when there are a lot of keys. So, we want to create a single web.config that can be used by all environment and which would not require any change. </p>