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