ASP.Net Website, I'm exposing functionality externally how can I limit duplicate code?
<p>Some of my clients are off of our internal network and I'm going to be exposing a few reports to the internet. This means that I'll have 2 separate sites one with admin fucntions and reports on our intranet and one with just reports exposed to the internet. </p>

<p>The pages that I'll be duplicating are fairly simple. Asp chart controls with a few other fields for choosing time span, size of report, relevant filters etc.</p>

<p>What are some ways to reduce the amount of duplicate code in 2 nearly identical ASP .Net websites?</p>

<p>Compiling UserControls into libraries? CSS files in a resource file? Put app_code somewhere else?
How would I do any of these if they are possible?</p>

<p>My websites will be on completely different web servers and will be sharing the same SQL Server 2005 DB. </p>
