title: How to use appsettings value in section property of web.config
body: <p>I want to use appsettings value in user defined section in web.cofig.</p>
  
  <pre><code>&lt;coredistributedcache factory-class="NHibernate.Caches.CoreDistributedCache.Redis.RedisFactory,NHibernate.Caches.CoreDistributedCache.Redis"&gt;
      &lt;properties&gt;
        &lt;property name="configuration"&gt;127.0.0.1:6379&lt;/property&gt;
      &lt;/properties&gt;
    &lt;/coredistributedcache&gt;
  </code></pre>
  
  <p>I have already defined the configuration value in appsetting like this</p>
  
  <pre><code>&lt;add key="RedisServer" value="127.0.0.1:6379" /&gt;
  </code></pre>
  
  <p>So basically I don't want to hard code property <code>configuration</code>  to <code>127.0.0.1:6379</code>, I want to set it like</p>
  
  <pre><code>&lt;property name="configuration"&gt;{{RedisServer}}&lt;/property&gt;
  </code></pre>
  
  <p>Is this even possible?</p>
  
  <p>Or is there any other way to avoid duplication?</p>