Proxys

Proxys are the objects that hide low-level communication details from client objects, making a remote object appear local. The previous section of this chapter showed the basics of using the remoting framework. This section and the rest of the chapter show a bit of inner workings, extensibility, and management of the remoting framework.

A proxy is an object that acts on behalf of another object. When obtaining a reference to the remote server component, a client can make calls as if it had a direct reference to a local object. Actually, this is a reference to a proxy, which enables communication with the remote server component by interacting with the remoting framework. Figure 21.2 shows the proxy's role in remoting.

Figure 21.2. Remoting ...

Get C# Unleashed 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.