title: Is this how to set Context Connection String Using CloudConfigurationManager?
body: <p>I am looking to use CloudConfigurationManager so I can take advantage of Azure configuration files. I want to use a connection string I added a string to my Cloud.cscfg to configure Entity Framework Context.</p>
  
  <p>I was configuring my context like this</p>
  
  <pre><code>public DomainContext()
      : base("ContextConnectionString")
  </code></pre>
  
  <p>This was taking the ContextConnectionString from the Web.config</p>
  
  <p>I changed the Context Constructor to this </p>
  
  <pre><code>public DomainContext()
      : base(CloudConfigurationManager.GetSetting("ContextConnectionString"))
  </code></pre>
  
  <p>And it now works. </p>
  
  <p>Is there a more elegant way to tell my context constructor to use Azure cscfg first?</p>