Explain the two different types of remote object creation mode in .NET. [Hint SAO and CAO].
Describe SAO architecture of Remoting.
Explain the two different types of remote object creation mode in .NET. SAO and CAO
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 25, 2012, 12:52 AM EST
The two different ways by which object can be created using Remoting is:-
SAO (Server Activated Object): It lasts the lifetime of the server. They are activated as SingleCall/Singleton objects. It makes objects stateless. A SingleCall object gets created for each request by client and A Singleton object is created once on the server and is shared by all the clients.
CAO (Client Activated Objects): CAO creates stateful objects. The object creation request is based on the request by client side. Therefore, the lifetime is based on client and not server. Single instance of object is created for every call.
Thanks