title: Two Sites from one project in Visual Studio
body: <p>We're publishing two websites based out of one project.</p>
  
  <p>The main site is a asp.net web forms web application, written in c#. The next one we are creating will derive from this. We want to be able to maintain both sites by editing the same code.
  So we don't have to edit simple changes in both projects.</p>
  
  <p>The difference between the sites, are the css file(and maybe the master page).
  And some dependant code, like f.ex. login.</p>
  
  <p>I figured I could do this using different build configurations.</p>
  
  <p><strong>First of all:</strong>
  <em>Is this a good way to solve it?</em></p>
  
  <p><strong>If yes:</strong></p>
  
  <ol>
  <li>How do I create a web.config file to load a different settings?</li>
  <li>How do I load different css file(and different master page).</li>
  <li>How do I create dependent code?</li>
  </ol>
  
  <p><strong>If no:</strong></p>
  
  <p><em>What would be?</em></p>
  
  <p>Thanks for any help and tips contributed.</p>