title: How to read appSettings section in the web.config file?
body: <p>My XML looks like this and the filename is <code>web.config</code></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
    &lt;appSettings&gt;   
      &lt;add key="configFile" value="IIS.config"/&gt;
      &lt;add key="RialtoDomain" value="ASNC_AUDITORS"/&gt;    
    &lt;/appSettings&gt;
    &lt;system.serviceModel&gt;
      ....
    &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>In the code when I read like this </p>
  
  <pre><code>String path = ConfigurationSettings.AppSettings["configFile"];
  </code></pre>
  
  <p>I am getting a null value. No exception is thrown.
  Is this the right way to do it?</p>