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 websites use asp.net?
What are session objects?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
How you can add an event handler?
What are the versions of garbage collection?
What is Bundling and Minification in MVC?
What are the advantages and disadvantages of Using Cookies?
Is asp.net core faster?
What is the difference between GridView and Repeater controls in ASP.NET?
What is difference between viewstate and session in asp net?
What is an example of an application service provider?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What is mvc in angular?
What is ipostback?
What are the file extensions for razor views?