title: CloudConfigurationManager.GetSetting() returns null with Azure Configuration Manager 3.0
body: <p>I just upgraded (via nuget) to the latest version of the Azure Configuration Manager (3.0.0):</p>
  
  <p><a href="https://www.nuget.org/packages/Microsoft.WindowsAzure.ConfigurationManager/3.0.0" rel="nofollow">https://www.nuget.org/packages/Microsoft.WindowsAzure.ConfigurationManager/3.0.0</a></p>
  
  <p>Once I did that - and made a few namespace adjustments - it looks like it has stopped returning values for my Azure Worker Role configuration. </p>
  
  <p>I'm retrieving a connection string value like this:</p>
  
  <pre><code>var storageCs = CloudConfigurationManager.GetSetting("Microsoft.Storage.ConnectionString");
  </code></pre>
  
  <p>My service definition file looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;ServiceDefinition name="Payboard.Worker" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-06.2.4"&gt;
    &lt;WorkerRole name="Payboard.Worker.Events" vmsize="Small"&gt;
      &lt;ConfigurationSettings&gt;
        &lt;Setting name="Microsoft.Storage.ConnectionString" /&gt;
        &lt;Setting name="PayboardEntities" /&gt;
        &lt;Setting name="cacheSystem" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" /&gt;
        &lt;Setting name="redisCacheConnectionString" /&gt;
      &lt;/ConfigurationSettings&gt;
      &lt;Imports&gt;
        &lt;Import moduleName="RemoteAccess" /&gt;
        &lt;Import moduleName="RemoteForwarder" /&gt;
      &lt;/Imports&gt;
      &lt;Startup priority="-2"&gt;
      &lt;/Startup&gt;
    &lt;/WorkerRole&gt;
  &lt;/ServiceDefinition&gt;
  </code></pre>
  
  <p>And my service configuration file like so (with sensitive information removed):</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;ServiceConfiguration serviceName="Payboard.Worker" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="4" osVersion="*" schemaVersion="2014-06.2.4"&gt;
    &lt;Role name="Payboard.Worker.Events"&gt;
      &lt;Instances count="1" /&gt;
      &lt;ConfigurationSettings&gt;
        &lt;Setting name="Microsoft.Storage.ConnectionString" value="UseDevelopmentStorage=true" /&gt;
        &lt;Setting name="PayboardEntities" value="(standard connection string stuff)" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="ken" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="(encrypted password)" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2015-06-19T23:59:59.0000000-07:00" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" /&gt;
        &lt;Setting name="cacheSystem" value="simple" /&gt;
        &lt;Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" value="1" /&gt;
        &lt;Setting name="redisCacheConnectionString" value="(redis connection string)" /&gt;
      &lt;/ConfigurationSettings&gt;
      &lt;Certificates&gt;
        &lt;Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="(blah)" thumbprintAlgorithm="sha1" /&gt;
      &lt;/Certificates&gt;
    &lt;/Role&gt;
  &lt;/ServiceConfiguration&gt;
  </code></pre>
  
  <p>All of this worked correctly under 2.0.3, and indeed, works correctly if I revert back to 2.0.3. But any call to <code>CloudConfigurationManager.GetSetting()</code> returns null under 3.0. </p>
  
  <p>I haven't found any documentation about what's supposedly changed under 3.0. Anybody have any suggestions? Is this just a bug of some sort? (Obviously I'm sticking at 2.x for now - no compelling reason to get to 3.0 - but I like sticking with the latest versions of stuff as a general rule.)</p>