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

Single vs multiple IIS application roots

I have a big ASP website (used by several thousand car dealers) that is a
collection of lots of small and medium-sized applications. Now I want to
start adding ASP.NET applications to it. I have read Q307467 (How To Create
an ASP.NET Application from Multiple Projects for Team Development) and it
seems to work well. I understand that when you create a web project in
VS.NET, it creates an IIS application root, and that you can remove this
root from IIS to make the project a "child" project of the root project.
When you do this, you can share Session and Application variables between
pages in the various projects.

But I can't decide whether my whole website should be under a single IIS
application root, or whether I should have a root for each project. I would
like to be able to share Application variables amongst all the applications,
but is having a single root the only way to accomplish this? I don't need
to share Session variables between applications. Over time I will build up
lots of applications so I could have lots of application roots. I've been
trying to figure out the pros and cons. Here's what I've thought of:

* Multiple application roots would mean more overhead for the IIS server.
Is this a big concern?
* Multiple application roots is the default behaviour of VS.NET.
* I need to find a way to share Application variables if I use multiple
roots.
* Each application root has its own settings, so difficult to keep control
over ASP timeout, session timeout, etc, if you have many roots.

I am wondering: WWMD (What Would Microsoft Do)?
Thanks very much,
Carl Johansen
http://www.carljohansen.co.uk
Nov 19 '05 #1
3 2194
I would look on this logically - forget about implementation - is it one
application or it is a lot of different applications?
why would you want to have a lot of different application? You have them
like this now- Why?

The are a lot of reasons to have one application instead of multiple but
what are your requirements?

Shimon
"Carl Johansen" <carl@_NOSPAM_carljohansen.co.uk> wrote in message
news:u$**************@TK2MSFTNGP09.phx.gbl...
I have a big ASP website (used by several thousand car dealers) that is a
collection of lots of small and medium-sized applications. Now I want to
start adding ASP.NET applications to it. I have read Q307467 (How To
Create an ASP.NET Application from Multiple Projects for Team Development)
and it seems to work well. I understand that when you create a web project
in VS.NET, it creates an IIS application root, and that you can remove this
root from IIS to make the project a "child" project of the root project.
When you do this, you can share Session and Application variables between
pages in the various projects.

But I can't decide whether my whole website should be under a single IIS
application root, or whether I should have a root for each project. I
would like to be able to share Application variables amongst all the
applications, but is having a single root the only way to accomplish this?
I don't need to share Session variables between applications. Over time I
will build up lots of applications so I could have lots of application
roots. I've been trying to figure out the pros and cons. Here's what
I've thought of:

* Multiple application roots would mean more overhead for the IIS server.
Is this a big concern?
* Multiple application roots is the default behaviour of VS.NET.
* I need to find a way to share Application variables if I use multiple
roots.
* Each application root has its own settings, so difficult to keep control
over ASP timeout, session timeout, etc, if you have many roots.

I am wondering: WWMD (What Would Microsoft Do)?
Thanks very much,
Carl Johansen
http://www.carljohansen.co.uk

Nov 19 '05 #2
Hi Shimon,

Thanks for your reply. I guess my problem is that I'm not sure what is
meant by "application". It seems to mean different things in different
systems and contexts. To take a bad analogy: is Windows an "application"?
If it is, then what do you call Notepad? A "sub-application"? In this
analogy my website is like Windows and the individual applications are like
Notepad. I want some global data to be available to all applications. I
guess that's my only real requirement.
why would you want to have a lot of different application? You have them
like this now- Why? Actually, right now I have only ASP pages. And they are all in a single IIS
application root, and it works fine. They are not "different applications"
in the IIS sense of the term.

Thanks again,
Carl

"Shimon Sim" <sh**********@community.nospam> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...I would look on this logically - forget about implementation - is it one
application or it is a lot of different applications?
why would you want to have a lot of different application? You have them
like this now- Why?

The are a lot of reasons to have one application instead of multiple but
what are your requirements?

Shimon
"Carl Johansen" <carl@_NOSPAM_carljohansen.co.uk> wrote in message
news:u$**************@TK2MSFTNGP09.phx.gbl...
I have a big ASP website (used by several thousand car dealers) that is a
collection of lots of small and medium-sized applications. Now I want to
start adding ASP.NET applications to it. I have read Q307467 (How To
Create an ASP.NET Application from Multiple Projects for Team Development)
and it seems to work well. I understand that when you create a web
project in VS.NET, it creates an IIS application root, and that you can
remove this root from IIS to make the project a "child" project of the
root project. When you do this, you can share Session and Application
variables between pages in the various projects.

But I can't decide whether my whole website should be under a single IIS
application root, or whether I should have a root for each project. I
would like to be able to share Application variables amongst all the
applications, but is having a single root the only way to accomplish
this? I don't need to share Session variables between applications. Over
time I will build up lots of applications so I could have lots of
application roots. I've been trying to figure out the pros and cons.
Here's what I've thought of:

* Multiple application roots would mean more overhead for the IIS server.
Is this a big concern?
* Multiple application roots is the default behaviour of VS.NET.
* I need to find a way to share Application variables if I use multiple
roots.
* Each application root has its own settings, so difficult to keep
control over ASP timeout, session timeout, etc, if you have many roots.

I am wondering: WWMD (What Would Microsoft Do)?
Thanks very much,
Carl Johansen
http://www.carljohansen.co.uk


Nov 19 '05 #3
Application, as I understand it, is Notepad. You can run 2 instances of
notepad but it is one application.
Anyway,
The only way to share information between Web applications is to have some
persistence - SQL Server, MS Access, file(s).

when choosing sharing make sure that you don't kill your performance.
If information is read-only or almost never changes look into cashing and
you can use file. If it changes you can use MS Access if you don't have too
many users. And SQL Server everything else.

All the best,
Shimon.

"Carl Johansen" <carl@_NOSPAM_carljohansen.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi Shimon,

Thanks for your reply. I guess my problem is that I'm not sure what is
meant by "application". It seems to mean different things in different
systems and contexts. To take a bad analogy: is Windows an "application"?
If it is, then what do you call Notepad? A "sub-application"? In this
analogy my website is like Windows and the individual applications are
like Notepad. I want some global data to be available to all
applications. I guess that's my only real requirement.
why would you want to have a lot of different application? You have them
like this now- Why?

Actually, right now I have only ASP pages. And they are all in a single
IIS application root, and it works fine. They are not "different
applications" in the IIS sense of the term.

Thanks again,
Carl

"Shimon Sim" <sh**********@community.nospam> wrote in message
news:un**************@TK2MSFTNGP12.phx.gbl...
I would look on this logically - forget about implementation - is it one
application or it is a lot of different applications?
why would you want to have a lot of different application? You have them
like this now- Why?

The are a lot of reasons to have one application instead of multiple but
what are your requirements?

Shimon
"Carl Johansen" <carl@_NOSPAM_carljohansen.co.uk> wrote in message
news:u$**************@TK2MSFTNGP09.phx.gbl...
I have a big ASP website (used by several thousand car dealers) that is a
collection of lots of small and medium-sized applications. Now I want to
start adding ASP.NET applications to it. I have read Q307467 (How To
Create an ASP.NET Application from Multiple Projects for Team
Development) and it seems to work well. I understand that when you
create a web project in VS.NET, it creates an IIS application root, and
that you can remove this root from IIS to make the project a "child"
project of the root project. When you do this, you can share Session and
Application variables between pages in the various projects.

But I can't decide whether my whole website should be under a single IIS
application root, or whether I should have a root for each project. I
would like to be able to share Application variables amongst all the
applications, but is having a single root the only way to accomplish
this? I don't need to share Session variables between applications.
Over time I will build up lots of applications so I could have lots of
application roots. I've been trying to figure out the pros and cons.
Here's what I've thought of:

* Multiple application roots would mean more overhead for the IIS
server. Is this a big concern?
* Multiple application roots is the default behaviour of VS.NET.
* I need to find a way to share Application variables if I use multiple
roots.
* Each application root has its own settings, so difficult to keep
control over ASP timeout, session timeout, etc, if you have many roots.

I am wondering: WWMD (What Would Microsoft Do)?
Thanks very much,
Carl Johansen
http://www.carljohansen.co.uk



Nov 19 '05 #4

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

Similar topics

2
by: bmatt | last post by:
I am trying to support multiple interpreter instances within a single main application thread. The reason I would like separate interpreters is because objects in my system can be extended with...
9
by: amitavabardhan | last post by:
How Can I extract multiple tiff images into single images through asp programming? Is there any free dll's that I can use in ASP to split multiple tiffs into single tiffs? Any suggestion...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
3
by: Sheila Jones | last post by:
Hello, Could somebody explain (or point me to a website that does) the difference between a 'virtual directory' and an 'application root'? I don't really get it at the moment. Thanks.
3
by: CD | last post by:
An application is logging faxes sent in SQL2000 image column type. I have found code on the net but what it is doing is prompting to save to local which is fine for single page image. Not good...
6
by: kumar_anil_gaya_India | last post by:
Hi All, I am facing one problem. I have one DLL called LogManagement which has ability to write to ExceptionLog and EventLog File. Both are separate file locate in Logs Diectory. I have two ...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
1
by: candacefaye1 | last post by:
1. write a C++ program to decide if the coefficients of a quadratic equation have real roots. The three choices will be to write the message “zero divide” when A is zero, write the message “no real...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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
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,...

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.