Remoting: Passing Types and Objects Across Boundaries

The final topic in this chapter is remoting. Remoting is the technique of passing types or objects across process or machine boundaries using a process called marshalling (which is the general name for the technique of moving types or objects across programming boundaries).

In this topic, we'll create a server and client application to pass types and objects between processes on the same machine, but you can as easily pass them between processes on different machines.

In order to move types and objects across process boundaries, we're going to use two FCL classes—MarshalByRefObject, which marshals types and objects, and HttpChannel, which allows us to communicate between processes using port ...

Get Microsoft® Visual C#® .NET 2003 Kick Start 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.