.Net Remoting,Serialization and Deserialization,Marshaling and unmarshaling.

Posted by Panks under Others on 12/8/2010 | Points: 10 | Views : 7643 | Status : [Member] | Replies : 1
I know about .Net Remoting,Serialization and Deserialization,Marshaling and unmarshaling.
But I cant understand is these 3 concepts are enter-related with each other or entirely different.


Posted by: SheoNarayan on: 12/8/2010 [Administrator] HonoraryPlatinum | Points: 25

Hello Panks,

Thanks for asking this question.

.Net Remoting, Marshaling and Unmarshaling is related. As when you use .NET Remoting, your object needs to be Marshaled (read about .NET Remoting at http://www.dotnetfunda.com/articles/article1.aspx ), its a kind of serialiation, however Marshalling term is used when you work with .NET Remoting. Read more about Marshalling at http://en.wikipedia.org/wiki/Marshalling_(computer_science)

Serialization and Deserialization is different than Marshalling and Unmarshalling. Serialization is the mechanism of converting object to stream of bytes and deserialzation is the mechanism to convert stream of bytes into Object. Read more about Serialization and Deserialization at http://www.dotnetfunda.com/articles/article98.aspx. This is typically used in terms of Web Services or transferring object/data from one location to another location.

Above explanations was in terms of .NET Remoting, if you want to read the difference in terms of definition, read this thread http://stackoverflow.com/questions/770474/what-is-the-difference-between-serialization-and-marshalling

Hope this will help.


Sheo Narayan

Panks, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response