What is an application domain?It's a way in CLR to maintain a boundary between various applications to ensure that they do not interfere in working of any other application. CLR acts as a mini operating system where a single process may have various application domains.Explain the concepts of application domain.- An operating system process can have many ongoing application domains. Application Domains keep an application separate. - All objects created within the same application scope are created within the same application domain. - Multiple application domains can exist in a single operating system process. - Distinct memory address space allocation by the OS is effective but expensive and it does not satisfy to the numbers required for large web servers. - However, the CLR isolates an application by managing the memory use of code running within the application domain due to which the code cannot access memory outside the boundaries of the domain.
|