.Net Links

Friday, December 23, 2011

Apppool vs Appdomain


Apppool Vs appdomain


Let me tell what an application pool is.

Application pools are used to separate set of IIS worker processes that share the same configuration. Applicationpools enable us to isolate our web application for better security, reliability, and availability. The worker process serves as the process boundary that separates each application pool so that when one worker process orapplication is having an issue, other applications or worker processes are not affected.

Application pool and AppDomain both of them can provide isolations.
Application Pool is in IIS whereas AppDomain is a in .NET.

Application pool use the process to isolate the applications which works without .NET.
AppDomain is another isolation methods provided by .NET.



An AppDomain contains InProc session state.So if an AppDomain is killed/recycled, all of your session state information will be lost.
Applications can have multiple AppDomains in them although often times there is a one-to-one relationship between them.

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home