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 is asynchronous programming?

567


What does manifest consists?

545


Explain serialization formatters in .net remoting

564


Which Namespaces is used to achieve the Remoting?

566


Which one is better WebService and Remoting ?

614






What is objref object in remoting?

693


What are the channels in .net remoting?

529


Are you aware of containment and Aggregation ?

2691


How are the activation URLs different in case of SAO and CAO in .NET remoting?

2087


What is Remoting?

636


What is unboxing?

486


What are the security features in .net remoting?

541


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

555


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

538


Explain how does assembly versioning in .net prevent dll hell?

549