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
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
What is a multilingual website?
How would you enable impersonation in the web.config file?
How can u deifne the benefits and limitation of using Viewstate for state management?
How can you apply a theme to your asp.net application?
What is the difference between asp.net and mvc?
What is a url string?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
How do I publish my asp.net application to my isp's web server?
Why do we use web config?
Define resource files.
How is session id generated?
What is fulltrust?
How do you create a master page?
What is http response header?