What is App Pool and App Domain? What is the difference
between the two.
Answer Posted / nalin bhatia
IIS process is w3wp;
Every application pool in IIS use it's own process;
AppPool1 uses process 3784, AppPool2 uses process 5044
Different applications in Asp.net will use different
AppDomain;
AppTest2 and AppTest2 are in different AppDomain, but in
the same process.
What's the point to use them?
Application pool and AppDomain , both of them can provide
isolations, but use different approches. Application pool
use the process to isolate the applications which works
without .NET. But AppDomain is another isolation methods
provided by .NET.
If your server host thousands of web sites, you wont use
thousands of the application pool to isolate the web sites,
just becuase, too many processes running will kill the os.
However, sometime you need application pool. One of the
advantages for application pool is that you can config the
identity for application pool. Also you have more flexible
options to recyle the application pool. At least right now,
IIS didnt provide explicit options to recyle the appdomain.
Is This Answer Correct ? | 30 Yes | 4 No |
Post New Answer View All Answers
What is the use of iis server in net?
What is an iis worker process?
How do I change iis express to local iis?
What does iisreset noforce do?
How do I turn off iis in windows 10?
Where can I find applicationhost config?
What is rapid fail protection?
How do I stop all iis services?
How do I know if iis is running on my browser?
How do I enable iis on my local system?
How do I enable iis logging in event viewer?
What are the iis isolation levels?
What is the current version of iis?
Describe the permission settings are available for virtual directory?
Why do we need to recycle application pool?