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
How do I stop and start iis command line?
How do I know if I have iis on windows server 2016?
roles of information system in a business organization?
What is the difference between app pool and app domain in iis?
How do I create a virtual directory in iis?
How often does iis recycle app pool?
How do I start iis from command prompt?
What is iis and how do you use it?
How do you administer Connection Pooling in IIS 4.0?
How many security types are available on IIS?
For the document of size 1 mb, what size would you expect the index to be with indexing service?
What is latest iis version?
How do I reset iis in windows 10?
What is iis server and how it works?
Can windows server 2003 function as a bridge?