title: How to use ConfigurationManager.AppSettings with a custom section?
body: <p>I need to get "<a href="http://example.com" rel="noreferrer">http://example.com</a>" from  using App.config file.</p>
  
  <p>But at the moment I am using:</p>
  
  <pre class="lang-cs prettyprint-override"><code>string peopleXMLPath = ConfigurationManager.AppSettings["server"];
  </code></pre>
  
  <p>I cannot get the value.</p>
  
  <p>Could you point out what I am doing wrong?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="device" type="System.Configuration.SingleTagSectionHandler" /&gt;
      &lt;section name="server" type="System.Configuration.SingleTagSectionHandler" /&gt;
    &lt;/configSections&gt;
    &lt;device id="1" description="petras room" location="" mall="" /&gt;
    &lt;server url="http://example.com" /&gt;
  &lt;/configuration&gt;
  </code></pre>