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 state management techniques in asp.net?
List the advantages and disadvantages of user control an custom control?
Explain Life cycle of ASP.NET page when a request is made.
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
Where is cookie used in asp.net?
What are the session variables?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
How can you implement encapsulation in asp.net?
What are sql notifications and sql invalidations?
Define static function?
How would you create a permanent cookie?
What does the .webpart file do?
Explain managed code an un-managed code.
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
What is difference cookie and session?