Publishing and Activation

When publishing an object service to the remoting system, the programmer needs to be aware of the different activation and life cycle models that are available. There are two types of activation—client activation and server activation—both of which are handled by the System.Runtime.Remoting.RemotingConfiguration class.

  • When a server publishes a service, the activation type defines how and when the object will be created, and how the life cycle of the object will be controlled.

  • When a client registers for an activated service, the runtime is provided with information about how to create new proxies to represent the remote type. Calls to create instances of the registered type using the new keyword will be translated into ...

Get C# for Java Developers 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.