What are the differences between Marshal by value and
Marshal by reference?

Answer Posted / rashmi tiwari

Remoting makes an object in one process (the server)
available to code in another process (the client). This is
called marshalling, and there are two fundamentally
different ways to marshal an object

-->Marshal by value: the server creates a copy of the
object passes the copy to the client.
-->Marshal by reference: the client creates a proxy for the
object and then uses the proxy to access the object.

Is This Answer Correct ?    33 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways to configure remoting objects before client can use them?

603


Can you explain remoting?

602


Explain the Flow of remoting?

601


What are the channels in .net remoting?

531


What is a formatter in .net remoting?

586






What are the threading types?

537


Can we configure a .net remoting object via xml file?

529


What is the difference between the RegisterWellknownServiceType(), RegisterWellknownClientType(), RegisterActivatedServiceType() and RegisterActivatedClientType() in .net?

516


Which Namespaces is used to achieve the Remoting?

570


Explain how can you automatically generate interface for the remotable object in .net with microsoft tools?

557


What are the situations you will use singleton architecture in remoting ?

565


When should we choose .net remoting over .net web services?

542


What is asynchronous programming?

572


Define proxy in .net remoting?

572


What are static assemblies and dynamic assemblies?

532