title: Reading from custom configuration section not working in .NET
body: <p>I'm trying to read in values from a custom configuration section in a .NET 4.0 app.  However, when inspecting the values they always display the defaults and not the custom values as I would expect.</p>
  
  <p>Here's my class:</p>
  
  <pre><code>using System;
  using System.Configuration;
  
  namespace TestNamespace
  {
      public class TestSection : ConfigurationSection
      {
          [ConfigurationProperty("applicationAccessID", IsRequired = true)]
          public string ApplicationAccessID { get; set; }
  
          [ConfigurationProperty("username", IsRequired = true)]
          public Guid Username { get; set; }
  
          [ConfigurationProperty("password", IsRequired = true)]
          public Guid Password { get; set; }
      }
  }
  </code></pre>
  
  <p>I've added the following items to the config file:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
      &lt;sectionGroup name="myCustomConfiguration"&gt;
        &lt;section name="testSection" type="TestNamespace.TestSection,MyAssembly"/&gt;
      &lt;/sectionGroup&gt;
    &lt;/configSections&gt;
    &lt;myCustomConfiguration&gt;
      &lt;myAuthenticationSection applicationAccessID="1" username="9A36EC78-76B0-477B-9E36-613C13AE86BB" password="589A8696-2B9B-4ADD-906E-7245D387B594" /&gt;
    &lt;/myCustomConfiguration&gt;
  ...
  </code></pre>
  
  <p>This line returns an instance of TestSection, but it's not reading the custom values from the config:</p>
  
  <pre><code>ConfigurationManager.GetSection("myCustomConfiguration/myAuthenticationSection")
  </code></pre>
  
  <p>Any advice?</p>
  
  <p>EDIT:
  Here is my updated config file after removing groups:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="testSection" type="TestNamespace.TestSection,MyAssembly"/&gt;
    &lt;/configSections&gt;
    &lt;myAuthenticationSection applicationAccessID="1" username="9A36EC78-76B0-477B-9E36-613C13AE86BB" password="589A8696-2B9B-4ADD-906E-7245D387B594" /&gt;
  ...
  </code></pre>
  
  <p>Same issue...</p>