Hi........
What is the ObjRef Object in Remoting and define marshal object?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jan 5, 2012, 4:42 AM
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