CHAPTER 17 PROCESSES, APPDOMAINS, AND OBJECT CONTEXTS
Understanding Object Context Boundaries
As you have just seen, AppDomains are logical partitions within a process used to host .NET assemblies.
On a related note, a given application domain may be further subdivided into numerous context
boundaries. In a nutshell, a .NET context provides a way for a single AppDomain to establish a “specific
home” for a given object.
Note Friendly FYI: While understanding processes and application domains is quite important, most .NET applications
will never demand that you work with object contexts. I've included this material just to paint a more complete picture.
Using context, the CLR is able to ensure that objects that have special runtime requirements are
handled in an appropriate and consistent manner by intercepting method invocations into and out of a
given context. This layer of interception allows the CLR to adjust the current method invocation to
conform to the contextual settings of a given obj