title: A WCF webservice and the Application Settings horror
body: <p>I have written a WCF service that I am hosting in IIS7 as a webservice.  I have 8 application scope settings that I have defined in the WCF service library project in the app.config.  I want to make these settings available to the network admins so that they can be changed as necessary without me having to open the solution, change the setting, recompile, re-deploy.</p>
  <p>Using the app.config, that is case, because aparently the app.config is somehow incorporated into the built dll which is referenced by the webservice project.</p>
  <p>So, I am trying to put these settings in the web.config.  I have seen many sites that say simply to add the settings thusly:</p>
  <pre><code>&lt;appSettings&gt;
      &lt;add key=&quot;LDAPServerAddress&quot; value=&quot;LDAP:/192.168.1.96/&quot; /&gt;
      &lt;add key=&quot;ClientsOU&quot; value=&quot;OU=Clients/&quot; /&gt;
      &lt;add key=&quot;UsersOU&quot; value=&quot;OU=Users&quot; /&gt;
  &lt;/appSettings&gt;
  </code></pre>
  <p>which, upon running the service I am informed that User-Scoped settings are not allowed.  I knew that, and that is why I attempted to create Application-Scoped settings (reference the above XML tag <code>&lt;appSettings&gt;</code>).</p>