.NET Remoting Architecture

The overall process of making a method call across process (or app domain) boundaries is, at a conceptual level, no different in .NET remoting than it is in DCOM or CORBA or even the Java programming language RMI for that matter. The key to making cross-process method calls is marshaling. The idea is that you have a piece of software called a proxy that runs in the client process and a piece of software, which is usually called a stub, that runs in the server process as shown in Figure 11-1.

Figure 11-1. Making a distributed method call.

When you instantiate a remote object, the operating system runtime will return a ...

Get .NET and COM Interoperability Handbook, The now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.