473,320 Members | 1,724 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,320 software developers and data experts.

Nested ASP.NET "Applications"

I want to be able to place ASP.NET applications inside each other (nested).
The idea would be that I want to be able to have a docroot that contains the
normal Web.config and App_Code directory, etc.

But then, under that docroot, I'd like to be able to have the following:
1. Some kinf of ability to refer to paths to objects using the "~" notation
- or something like it, but being able to decide wheher I want to reference
the actual docroot (all the way "up" at the top) or the root of my
application. I need the ability to reference *both*. Can I do that?

2. I also need to be able to have App_Code directories in the
"sub-application" but still have access to the App_Code in the top-level
docroot.

I guess that covers it. Can these things be done? If so, point me to how?

Thanks.

Alex
Feb 20 '08 #1
2 1716
The closest thing to do this would be the Web Client Software Factory, a
primary component of which is called the Composite Web Application. This
guidance package helps to create a root Shell application that you can use
to plug-in other modular applications into directories under it.

http://www.codeplex.com/websf/

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- Expression

"Alex Maghen" <Al********@newsgroup.nospamwrote in message
news:68**********************************@microsof t.com...
>I want to be able to place ASP.NET applications inside each other (nested).
The idea would be that I want to be able to have a docroot that contains
the
normal Web.config and App_Code directory, etc.

But then, under that docroot, I'd like to be able to have the following:
1. Some kinf of ability to refer to paths to objects using the "~"
notation
- or something like it, but being able to decide wheher I want to
reference
the actual docroot (all the way "up" at the top) or the root of my
application. I need the ability to reference *both*. Can I do that?

2. I also need to be able to have App_Code directories in the
"sub-application" but still have access to the App_Code in the top-level
docroot.

I guess that covers it. Can these things be done? If so, point me to how?

Thanks.

Alex
Feb 20 '08 #2
Hi Alex,

As for make parent and child apps as separated application, do you mean
that both of them are a standard ASP.NET application? If so, that means you
need to make both of the two virtual directorys in IIS as "Application".

However, each ASP.NET application will has their own boundary and they can
not share many states and data. For example, Session, ApplicationState,
Cache are not shared. Also, App_XX folder, ~/ path are also not shared
since they're of different application domain. I think you may double
check on this to see whether such configuration really meet your
requirement.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?QWxleCBNYWdoZW4=?= <Al********@newsgroup.nospam>
Subject: Nested ASP.NET "Applications"
Date: Wed, 20 Feb 2008 10:26:00 -0800
>
I want to be able to place ASP.NET applications inside each other
(nested).
>The idea would be that I want to be able to have a docroot that contains
the
>normal Web.config and App_Code directory, etc.

But then, under that docroot, I'd like to be able to have the following:
1. Some kinf of ability to refer to paths to objects using the "~"
notation
>- or something like it, but being able to decide wheher I want to
reference
>the actual docroot (all the way "up" at the top) or the root of my
application. I need the ability to reference *both*. Can I do that?

2. I also need to be able to have App_Code directories in the
"sub-application" but still have access to the App_Code in the top-level
docroot.

I guess that covers it. Can these things be done? If so, point me to how?

Thanks.

Alex
Feb 21 '08 #3

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

Similar topics

2
by: pleaseSeeFooter | last post by:
Pythonagons, I am considering using (building) a client-side application, rather than a browser, for an Internet application. I am aware there are a few resourcesout there like XUL and various...
1
by: José Joye | last post by:
Hi, I just bought this book from Apress (John Kanalakis) I'm trying to put together a .Net project for chapter 2. However, I got stucked with the DataAccess project. Does anyone already had a...
13
by: royaltiger | last post by:
I am trying to copy the inventory database in Building Access Applications by John L Viescas but when i try to run the database i get an error in the orders form when i click on the allocate...
3
by: marklawford | last post by:
Connected to BD2 8.2 via JDBC, can we force an application off the database? We know we can use the snapshot functions to get a view over connected users, that works find through a standard SQL...
3
by: Polaris | last post by:
Hi: Anyone can explain the concept of "System Level Applications"? An example? Thanks in Advance! Polaris
4
by: Rahul B | last post by:
Hi, When i do a "db2 list applications", i get the required applications with their ip addresses. However, some of the application Ids are ip addresses while some application Ids are...
7
by: Rob | last post by:
In a previous thread, I was asking about setting up my global.aspx which inherits System.Web.HttpApplication. This is where there are the event handlers like: Sub Session_Start(ByVal sender As...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.