title: Two .NET projects, one DB connection string?
body: <p>I have a .NET solution containing two projects:</p>
  
  <ul>
  <li>An ASP.NET MVC project, 'Website'</li>
  <li>A class library, 'Models'</li>
  </ul>
  
  <p>The 'Models' project contains a Linq-to-SQL data-context along with a few partial classes that extend the database objects.</p>
  
  <p>The connection string is defined in the web.config of the 'Website' project.</p>
  
  <p>However the 'Models' project seems to have its own app.config where the database connection is defined separately.</p>
  
  <p>This means that if the connection string changes, I'll have to update both projects.</p>
  
  <p>Is there a way I can centralize the connection string to one place, and still have both projects use it?</p>