What is AppDomain?Explain how it works.
Answer Posted / murthy remella
Its mandatory to create application domain for running
any .NET code. Its the light weight process in which CLR
will execute the code. AppDomain is built into Framework.
Generally regular application development doesn't require
AppDomain creation, but in some specific scenarios like
loading a component in seperate domain and unloading after
its purpose is served without stopping the entire
application.
ServiceHost Applications (IIS, ASP.NET worker) will handle
creation and management of appDomain in the background
Also, for each virtualdirectory/website one application
domain is created normally, which serves all the incoming
requests.But if you think the load is high and a single
appDomain is scalable then the application can use multiple
appdomains. (http://www.IIS.net for more details)
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is difference between mvc and asp.net? : Asp.Net MVC
How tooltip is set through code-behind in ASP.NET?
What are validator? How do you disable them?
How to bind all the binding controls in a page at once in ASP.NET?
What are the differnt types of handler in ASP.NET?
Using code explain Configuration Management
Which .NET framework supports Web API?
How many types of session state management options available in asp.net?
What is windows active directory authentication?
Explain the Order of events in an asp.net page?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
Why viewstate is used in asp.net?
Where session variables are stored?
What is the page life cycle in asp.net?
What is the difference between login controls and forms authentication?