What is AppDomain?Explain how it works.
Answer Posted / manjari anand
The common language runtime has been designed to support a
variety of different types of applications, from Web server
applications to applications with a traditional rich
Windows user interface. Each type of application requires a
runtime host to start it. The runtime host loads the
runtime into a process, creates the application domains
within the process, and loads user code into the
application domains.
Operating systems and runtime environments
typically provide some form of isolation between
applications. For example, Windows uses processes to
isolate applications. This isolation is necessary to ensure
that code running in one application cannot adversely
affect other, unrelated applications.
Application domains provide an isolation boundary for
security, reliability, and versioning, and for unloading
assemblies. Application domains are typically created by
runtime hosts.
You can run several application domains in a single process
with the same level of isolation that would exist in
separate processes.The ability to run multiple applications
within a single process dramatically increases server
scalability.
The isolation provided by application domains
has the following benefits:
• Faults in one application cannot affect other
applications. Because type-safe code cannot cause memory
faults, using application domains ensures that code running
in one domain cannot affect other applications in the
process.
• Individual applications can be stopped without
stopping the entire process. Using application domains
enables you to unload the code running in a single
application.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Which is better union or union all?
What is routing in MVC?
If we remove web.config or machine.config from the application then, is this application will works?
Explain the difference between dataset and datareader.
What are the properties of the eventargs argument when capturing keyboard events?
Which method is used to force all the validation controls to run?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
Which method is used to perform all validation at the page level?
Define a static class?
What is session start?
What is state management technique?
What is the use of response redirect in asp.net?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
How many types of sessions are there in asp net?
Explain the difference between Repeater and Data list control in ASP.NET?