Hi........
What is the ObjRef Object in Remoting and define marshal object?
ObjRef Object
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 4, 2012, 11:42 PM EST
ObjRef is a searializable object returned by Marshal() that knows about location of the remote object, host name, port number, and object name.
Marshaling objects by-value means to serialize their state (instance variables) including all objects referenced by instance variables, to some persistent form from which they can be deserialized in a different context. It is important to understand that by-value objects are not remote objects. All methods on those objects will be executed locally in the context of the caller. This means that unlike MarshalByRefObjects, the compiled class must be available to the client as well as the server.
Refer
http://www.c-sharpcorner.com/interviews/answer/3951/
http://www.diranieh.com/NETRemoting/Basics2.htm
Thanks