title: how to read web.config in another Layer
body: <p>In My project I have some Layer :</p>
  
  <ul>
  <li>Domain Layer </li>
  <li>DataLayer</li>
  <li>MvcApp  </li>
  <li>ServiceLayer</li>
  </ul>
  
  <p>MvcApp hase <strong>DomainClass</strong>,<strong>DataLayer</strong> and <strong>ServiceLayer</strong> Refrences.</p>
  
  <p>In <strong>DataLayer</strong>  I need Read some <strong>AppSetting</strong> Key in MvcApp's web.Config
  . 
  I cant Add MvcApp reference to DataLayer because its Circular .
  which way I better :</p>
  
  <p><strong>way 1:</strong></p>
  
  <p>For do this , I created I Webservice in MvcApp and user that in DataLayer for read <strong>AppSetting Key</strong> .</p>
  
  <p><strong>way 2:</strong></p>
  
  <p>I create a new Layer (middle Layer) and Add MvcApp Reference to it And use middle Reference in Daya Layer .
  Which way is better ?</p>
  
  <p>Now , I want Know which one is a  Good way ? </p>
  
  <p>I need your Idea to do this .
  Thanks ?</p>