Solution with Multiple Websites

  • Thread starter Thread starter Fred Nelson
  • Start date Start date
F

Fred Nelson

Hi:

This is a newby question and I hope there is a simple solution:

I'm working on a C#.NET solution that will have two separate websites.
I'm wondering if there is a way to have one solution with two separate
websites or if I need to create three solutions: One for each website
and also one that is just a shared class library.

Any info would be helpful - I've played around and read around and can't
get it to work!

Thanks,

Fred
 
You can have as many web sites as you need within a solution as well as
class libaries that can be referenced by more than one web site. If you
haven't tried it yet, you may want to take a look at the web application
project available in the downloads section of www.asp.net (and also built
into the new VS 2005 service pack 1). The web application project works in a
similar fashion to VS 2003 web projects and can compile the entire project
into a single dll for the web site, making it a lot easier to work with than
the new web site project.
 
Back
Top