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 asp.net and asp.net mvc? : Asp.Net MVC
What is the difference between user control an custom control?
What is the difference between dispose() and finalize()?
What are the advantages and disadvantages of session?
What is httpresponse?
How use Xml data in ASP.net?
What is the difference between rest and restful?
What are the server controls in asp.net?
Can we have a web application running without web.config file?
What is the difference between session and viewstate?
How does cookies work in asp net?
What is form submit?
What is the use of service provider?
Explain weak typing and strong typing.
What are the types of authentication in asp.net?