C
Carl Johansen
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
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