Describe the type of remotable objects in .Net Remoting.

 Posted by Majith on 7/22/2008 | Category: Web Services, Remoting Interview questions | Views: 4872

Marshal-by-value-objects - When client calls a method on marshal-by-value-object, the remoting system creates a copy of this object and passes the copy to the client application domain. The copy hence received can handle any method call in client domain. Using Marshal-by-value-object reduces resource consuming trip across network.
Marshal-by-reference-object - When client calls a method on Marshal by reference object, the remoting system create proxy object in the caller application that contains the reference of all method and properties of the object.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response