title: applicationSettings and Web.config
body: <p>I have a DLL that provides logging that I use for WebForms projects and now wish to use it in an ASP.Net MVC 2 project.</p>
  
  <p>Some aspects of that DLL are configured in app.config:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;configSections&gt;
              &lt;section name="Tools.Instrumentation.Properties.Settings" 
                       type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
                       requirePermission="false" /&gt;
          &lt;/sectionGroup&gt;
      &lt;/configSections&gt;
  
   &lt;applicationSettings&gt;
          &lt;Tools.Instrumentation.Properties.Settings&gt;
              &lt;setting name="LogLevel" serializeAs="String"&gt;
                  &lt;value&gt;DEBUG&lt;/value&gt;
              &lt;/setting&gt;
              &lt;setting name="AppName" serializeAs="String"&gt;
                  &lt;value&gt;MyApp&lt;/value&gt;
              &lt;/setting&gt;
              &lt;setting name="Port" serializeAs="String"&gt;
                  &lt;!--value&gt;33333&lt;/value--&gt;
                  &lt;value&gt;0&lt;/value&gt;
              &lt;/setting&gt;
          &lt;/Tools.Instrumentation.Properties.Settings&gt;
      &lt;/configuration&gt;    
  </code></pre>
  
  <p>However, when I create a similar entry in <code>Web.config</code>, I get the error:</p>
  
  <blockquote>
    <p>Unrecognized configuration section
    applicationSettings</p>
  </blockquote>
  
  <p>My two-part question:</p>
  
  <ul>
  <li>How do I make this config entry work in <code>Web.config</code>?</li>
  <li>Where can I read up on the conceptual differences between WinForms configuration and ASP.Net configuration?</li>
  </ul>