Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IIS AppDoman environment

2 views
Skip to first unread message

Chris Bordeman

unread,
May 11, 2008, 2:46:18 AM5/11/08
to
During an IIS page request or service call, is a new AppDomain created, or
is the main AppDomain for the application pool used?

If the latter, does that mean that an assembly .LoadFrom() is redundant on
subsequent requests?

Teemu Keiski

unread,
May 11, 2008, 5:39:20 AM5/11/08
to
Hi,

AppDomain is created on the first request, when it's not yet up - one per
virtual directory. After that it's reused (unless shutdown/restarted for
some reason when of course its restarted/created).

Once assembly is loaded, there's no need /(way) load it again until
AppDomain restarts when assemblies need to be loaded again.

Following article covers all you ever need to know:

A low-level Look at the ASP.NET Architecture
http://www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net


"Chris Bordeman" <chrisb...@hotmail.com> wrote in message
news:OvUm5Kzs...@TK2MSFTNGP06.phx.gbl...

Chris Bordeman

unread,
May 11, 2008, 4:04:16 PM5/11/08
to
Exactly what I needed, thanks Teemu.

"Teemu Keiski" <jot...@aspalliance.com> wrote in message
news:#HV4mr0s...@TK2MSFTNGP06.phx.gbl...

0 new messages