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
What is variable and constant in .net programming language?
How do you use viewstate?
Describe SOA and the tenets of it?
What is asp.net and ado net?
How will you load dynamic assembly? How will create assesblies at run time?
What do you mean by role-based security?
What are the different methods of session maintenance in asp.net?
Explain transparent caching with aop?
What is form submit?
Why mvc is better than asp.net? : Asp.Net MVC
Explain the difference between an exe and a dll?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
What does mean by a neutral culture?
What events will occur when a page is loaded?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?