Design Considerations
Use the. NET remoting for communicating between application domains process.
Use. NET remoting to communicate between application domains within the same process.
Choose the right host.
Choose the right host (meaning Iis,windows service, etc.).
Choose the right activation model.
Select the correct activation model (client activation, server activation, etc.).
Choose the right channel.
Choose the right channel (Tcpchannel,httpchannel, etc.).
Choose the right formatter.
Choose the right formatter.
Choose between synchronous or asynchronous communication.
Choose between synchronous and asynchronous communication.
Minimize round trips and avoid chatty interfaces.
Minimize unnecessary back and forth and avoid long-winded interface (may not be accurate translation).
Avoid holding state in memory.
Avoid maintaining state in memory.
Activated
Use client-activated objects (CAO) is where you need to the lifetime.
Use client-activated objects only when you need to control the lifecycle.
Use the SingleCall Server activated objects (SAO) for improved scalability.
Use the SingleCall server-side activation object to improve scalability.
Use singleton where you need to access a synchronized resource.
Use the singleton activation mode when you need to access a synchronized resource (Singletion is to say that no matter how many times the request server is an object executing the call).
Use singleton where you need the to control lifetime of server objects.
Use the Singletion method when you need to control the lifecycle of the server object (MarshalByRefObject InitializeLifetimeService methods can be rewritten).
Use appropriate state management to scale the solution.
Use proper state management to improve the scalability of your solution (scale don't know how to translate here).