■
Source Code
The ProcessManipulator project is included under the Chapter 17 subdirectory.
Understanding .NET Application Domains
Now that you understand the role of Win32 processes and how to interact with them from managed
code, we need to investigate the concept of a .NET application domain. Under the .NET platform,
executables are not hosted directly within a process (as is the case in traditional Win32 applica-
tions). Rather, a .NET executable is hosted by a logical partition within a process termed an
application domain. As you will see, a single process may contain multiple application domains,
each of which is hosting a .NET executable. This additional subdivision of a traditional Win32
process offers several benefits, some of which are as follows:
C H A P T E R 1 7
Do'stlaringiz bilan baham: |