473,791 Members | 2,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Nested ASP.NET "Applicatio ns"

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 1739
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********@new sgroup.nospamwr ote in message
news:68******** *************** ***********@mic rosoft.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 "Applicatio n".

However, each ASP.NET application will has their own boundary and they can
not share many states and data. For example, Session, ApplicationStat e,
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?QWxleCBNYWd oZW4=?= <Al********@new sgroup.nospam>
Subject: Nested ASP.NET "Applicatio ns"
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
2036
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 Java clients or classes to build one with. Has anyone developed a frame work for this sort of thing in Python? I am looking at the Windows platform initially, but of course would like to have portability. I have not built something like this...
1
1197
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 chance to put it together? Thanks, José
13
3999
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 button "Unexpected Error":3251 operation is not supported for this type of object.The demo cd has two databases, one is called inventory and the other just has the tables for the design called inventory data. When you run inventory the database works...
3
2219
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 call. Now I'd like to select one of those users and force it off. You can imagine the simple GUI action, select connected user - right-click - force - confirm and bang, the user's off. It's that last bit I'm having trouble with. I haven't yet...
3
1434
by: Polaris | last post by:
Hi: Anyone can explain the concept of "System Level Applications"? An example? Thanks in Advance! Polaris
4
2434
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 arbitrary(like GA500A2B.K105.014AC7050331) and of the form "GA500%'. Can somebody explain what are these indifferent application ids?
7
4980
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 Object, ByVal e As EventArgs) Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) In this file I've got: Private WithEvents ApplicationTimer As System.Timers.Timer ' used to
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10154
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9993
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2913
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.