.NET Remoting Fundamentals

In the world of .NET Remoting, there are essentially three types of classes:

  • Serializable classes

    These classes, which are marked with the <Serializable> attribute, can be sent between processes, applications, and computers.

  • Remotable classes

    These classes derive from System.MarshalByRefObject (or indirectly through another class that derives from MarshalBy­RefObject, such as Component). This provides them with the innate capability to be invoked remotely (outside of their application domain).

  • Ordinary classes

    On their own, these classes can’t be used in a .NET Remoting scenario for communication or for distributed execution. They might be used as a local part of an application, but that topic doesn’t interest us in this chapter. ...

Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting 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.