codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Have multiple ASP.NET web projects share pages and controls  MrCeri at 14:13 on Monday, July 17, 2006
 

Hi,

I have an existing ASP.NET/C# web application which I would like to replicate for use on another project. The other project will need slight modifications to the existing site, e.g. some different site text, some different logic in code-behind, the odd extra page here and there etc., but 95% of the site will remain the same.

My question is, what is the best practice for sharing code/pages between these two sites? I am using Visual Studio 2005, and cannot see an easy way of sharing .aspx pages, .ascx web controls, etc. between different web projects.

Naturally I don't want to simply create a copy of every page for each site, as this leads to twice the maintenance cost of having all the shared pages in the same place.

Many thanks in advance for any help/advice,

MrCeri








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Date script issues
•  perl script help needed
•  onChange issue
•  perl remote execution
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007