Forum Moderators: open

Message Too Old, No Replies

Multiple Web projects in .Net Solution

         

jthowlett

4:04 pm on Sep 16, 2003 (gmt 0)

10+ Year Member



I would like to create multiple Web Projects into within a complete Solution. Users will be directed between the various .aspx pages available in these projects, often using i.e. Session variables created in the other projects.

Visual Studio .NET discusses using multiple projects in a solution, however I am finding some difficulty implementing this for 'Web Projects'.

The problem occurs if you simply add new projects to a solution, since each project has it's own virtual directory in IIS. Navigating between these directories using Server.Transfer is not possible since it only recognises files in it's own Virtual Directory. Using a Reponse.Redirect looses any i.e. Session variables.

It is possible to add a 'New Project in an existing folder' to a solution. But this is not a Web Project, and you cannot add new web items such as 'Web Forms', since it has no 'Web Settings'.

mattglet

1:14 pm on Sep 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



are you sure there's no other way to design the layout you are seeking? it seems to me like you are just wanting to be able to browse back and forth between pages, so creating multiple projects would be complete overkill.

if i'm incorrect, please explain more.

-Matt

jthowlett

2:02 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



Hi,

Sorry for the late reply.

We had a number of developers working on different parts of the project so we wanted to keep these seperate.
We were not doing it for navigation purposes.

Our solution was found using the following support document.

[support.microsoft.com...]

dhogan

4:22 pm on Oct 13, 2003 (gmt 0)



I agree. We have an application that consists of various components that our clients purchase. We have order entry, accounting etc, and they each contain asp.net, asp, com+. We organize each component into a solution and VB6 project.

¦--Accounting
----¦----ASP
----¦----ASP.NET
----¦----csClassLib
----¦----Stored Proceedures
----¦----VB6Com
¦--OrderEntry
----¦----ASP
----¦----ASP.NET
----¦----csClassLib
----¦----Stored Proceedures
----¦----VB6Com

Se we have a base application that includes some a set of components and then we have optional components that you can choose. So if you want the OrderEntry stuff but not the accounting stuff you can have just the OrderEntry stuff. If you want both however, they appear to be part of the main application.

We are currently having a difficult time with this because Accounting and OrderEntry are not separate applications/websites. But they are separate components each with its own n-tiers.

I would like to now how to overcome this if any one has any thoughts.