What is an application domain?

Answer Posted / sudhir sheoran

Application domain is both a container and a boundary which contains code and data.
Like OS have processes as the smallest unit of separation, similarly .NET have app domains.

A process can have multiple app domains but a app domain will be associated with only a single process.

App Domain is relatively cheap to create (compared to a process), and has relatively less overhead to maintain than a process.For these reasons, an AppDomain is a great solution for the ISP who is hosting hundreds of applications. Each application can exist inside an isolated AppDomain, and many of these AppDomains can exist inside of a single process – a cost savings.

They separation concern of applications is resolved by assigning different virtual space to different application.
So even if one application crashes it doesn't effect the other applications.

No two application can directly interact with other application even though in same process. They have to use .net Remoting kind of things to do that.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can exception be handled with out the use of try catch?

546


What is client side state management?

506


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

646


What is query string in asp.net?

563


How can we pass info between 2 asp.net pages?

565






Explain the difference between dataset and datareader.

531


Why and where this web.config file is used?

593


What is state management in .net?

610


Explain the difference between Repeater and Data list control in ASP.NET?

617


How are sessions stored?

534


Write the different features of a Thread and a Process?

626


Explain client-side scripting?

571


Is there any property names “isnavigating”?

577


What is the parent class of all the web server control?

487


What are httphandlers and httpmodules and difference between them?

525