title: Azure web/worker role read configuration settings
body: <p>What is the best way/recommended way to read settings from a worker/web role?</p>
  
  <p>Is it: </p>
  
  <p><code>CloudConfigurationManager.GetSetting("ConnectionString")</code>  (this I'm using)</p>
  
  <p>or</p>
  
  <p><code>RoleEnvironment.GetConfigurationSettingValue("ConnectionString")</code></p>
  
  <p>Although both work fine ...</p>
  
  <p><img src="https://i.stack.imgur.com/TkK9H.png" alt="enter image description here"></p>