Remoting Internals
In this section, we look at the internals of remoting. You can skip this section and revisit it later if you wish to.
Recall from the earlier section that when an object is passed from the original context or AppDomain to the client's context or AppDomain, the runtime transparently creates a proxy object in the client's context and returns to the client a reference to the proxy. When the client makes method calls on the proxy, the runtime takes care of packaging the data as a message and sending it over the transport channel to the server.
For the sake of our discussion in this section, an object refers to either a context-bound object or a context-agile object that will be remoted to a different AppDomain. Such an object always ...
Get .NET Programming: A Practical Guide Using C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.