473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Multiple Projects on single web site

Hi,

We are developing a large modular application, and in order to simplify
splitting of work between developers etc. we want to develop it using
several different projects, and then combine the results into a single site.
We plan to do this by having a 'Site' folder in which the main project
will sit, with each of the other projects as a sub-folder of this.

The main project has master pages defined, as well as custom error pages
etc. which we would like to reference in all the other projects.

Can anyone tell me:
- Is this possible at all - has somebody managed it?
- Is there a way of making all the projects use the Web.config file from
the main project?
- Are there likely to be any problems using session to pass data between
applications?
- Anything else I need to know, any tutorials etc?
I am using VS2005 Pro (c#)

Thankyou

Paul.
Dec 1 '06 #1
2 3088
For what it's worth, here's the way I've been doing it for years:

- Create one solution.
- The solution can contain multiple projects.
- Usually, there is only one "web application" project. All the others
are supporting libraries.
- When we *do* have multiple web applications, each web application has
a separate web.config.
- When deployed, IIS can be set up so that both web applications
*appear* to be the same application.
- There shouldn't be any problem (maybe a few path issues that can be
fixed) sharing common pages like error pages and login pages.
I think each separate web application has separate session (right?).
Not shared.
Each separate web application can share authentication cookie (login
status) without problems.

Another way... I don't normally do it this way...
Your developers could just deploy their .aspx and .dll files to the
main web application when they are done with them. I've seen this
work. (They develop in a separate web application, then combine files
with the main application at deployment time).

In VS2003 we used to partition everything with "projects". In VS2005,
that's a little more difficult and we tend to partition everything by
"folders". Common code like base pages, etc... need to be in the
App_Code folder, for example.

Dec 1 '06 #2

OK, Thanks for that.

I'll have a play around and see what works best.
Paul

GroupReader wrote:
For what it's worth, here's the way I've been doing it for years:

- Create one solution.
- The solution can contain multiple projects.
- Usually, there is only one "web application" project. All the others
are supporting libraries.
- When we *do* have multiple web applications, each web application has
a separate web.config.
- When deployed, IIS can be set up so that both web applications
*appear* to be the same application.
- There shouldn't be any problem (maybe a few path issues that can be
fixed) sharing common pages like error pages and login pages.
I think each separate web application has separate session (right?).
Not shared.
Each separate web application can share authentication cookie (login
status) without problems.

Another way... I don't normally do it this way...
Your developers could just deploy their .aspx and .dll files to the
main web application when they are done with them. I've seen this
work. (They develop in a separate web application, then combine files
with the main application at deployment time).

In VS2003 we used to partition everything with "projects". In VS2005,
that's a little more difficult and we tend to partition everything by
"folders". Common code like base pages, etc... need to be in the
App_Code folder, for example.
Dec 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dinosaur8000 | last post by:
Hi, I have two ASP.NET solutions in my website, located in two directories: c:\projects\mainsite -- the main web site solution c:\projects\newmodule -- a module I'm adding on solution My web...
6
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single...
1
by: David Herbst | last post by:
I have a solution that contains one main web project, ten sub web projects and a controls library project all in a single web application. I followed the steps in the following MS KB: How To...
10
by: eswanson | last post by:
I have broken up my web site into smaller web site projects. When I look at the precompiled files, it always has the virtual directory in them ie: <preserve resultType="3"...
9
by: TC | last post by:
I need to design a system which represents multiple "projects" in SQL Server. Each project has the same data model, but is independent of all others. My inclination is to use one database to store...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
3
by: | last post by:
I'm seeking (probably basic) guidance on the right way to split a large site that's supposed to represent one domain(mydomain.org) into many small VS.NET projects, and how to avoid issues with...
6
by: Bob Johnson | last post by:
I'm finally getting around to migrating a "big" ASP.NET 1.1 app to 2.0. I've been reading up on the differences and I'm NOT finding something I was lead to believe was the case a long time ago. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.