.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

What marshelling in .net?

Posted By: Dhivakaran     Posted Date: October 19, 2010    Points:2   Category :.NET Framework
What marshelling in .net?

Author: Asha.MP             
Posted Date: October 19, 2010     Points: 5   


While transferring the data/object across the network or application domain that object should be converted to some format, in such a way that the receiving application should get the same object.
That convertion is called marshalling.In the opposite side the receiving application uses unmarshalling to get the object from marshalled data.

There are two types of marshalling
1.Marshal by object:
In this method the object is serialized into the channel in the form of stream, the copy of object will be created by using that stream with the unmarshalling sequence.
2.Marshal by reference
Here it creates a proxy on the client that is used to communicate with the remote object. The marshaling sequence of a remote object creates an ObjRef instance that itself can be serialized across the network.

Thanks and Regards,
Author: Jegan R             
Posted Date: November 03, 2010     Points: 5   

[B]2 types in marshaling;

1.marshal by value
2.marshal by reference

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend