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
Can we store object in viewstate?
What is the difference between session and viewstate?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
Which is an advantage of application service providers?
What is the use of session state and application state and difference between them?
Define cookie.
is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?
What is the difference between web.config and machine.config in ASP.NET?
What is the difference between dynamic SGA and static SGA?
What is applicatio domain?
How to deploy/publish webservices?How many ways?Plz explain me
How do I know asp.net mvc version? : Asp.Net MVC
Explain the difference between an exe and a dll?
Explain the use of fragment caching.
What are the differences between code behind and code inline?