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

What is a web api endpoint?

531


What are sessions and cookies?

562


Can a .net web application consume java web service?

510


What is asp.net with mvc? : Asp.Net MVC

516


How can you handle exceptions in asp.net?

557






Explain a program using razor view engine to create a simple application? : asp.net mvc

491


What's the use of formatters in .net?

566


What is difference between rest and soap?

575


What is a postback ispostback and autopostback in asp net?

476


What does asax stand for?

516


What is AutoPostback?

591


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

517


How do you implement postback with a text box?

558


What are the event handlers that can be included in the Global.asax file?

574


What is Pre-Render event in ASP.NET?

588