Serializing Objects in .Net

Question posted in Computer Software on 06 2010
Rate question difficulty level 0 Votes
What are the .NET Framework features of serializing technologies ?

 
 
6 Answers
 
Serialization is the process of converting the state of an object into a form that can be persisted or transported. The complement of serialization is deserialization, which converts a stream into an object. Together, these processes allow data to be easily stored and transferred.

The .NET Framework features two serializing technologies:

1.Binary serialization preserves type fidelity, which is useful for preserving the state of an object between different invocations of an application. For example, you can share an object between different applications by serializing it to the Clipboard. You can serialize an object to a stream, to a disk, to memory, over the network, and so forth. Remoting uses serialization to pass objects "by value" from one computer or application domain to another.


2.XML serialization serializes only public properties and fields and does not preserve type fidelity. This is useful when you want to provide or consume data without restricting the application that uses the data. Because XML is an open standard, it is an attractive choice for sharing data across the Web. SOAP is likewise an open standard, which makes it an attractive choice.

http://msdn.microsoft.com/en-us/library/7ay27kt9(VS.71).aspx

06/15/2010
 
 
You missed the part that this way the state of the objects are secured and thus can't be tampered with during the transmission.

06/17/2010
 
 
Your tkhining matches mine - great minds think alike!

01/11/2012
 
 

01/11/2012
 
 
topamax %OOO accutane xqge cialis :))

01/30/2012
 
 
 
 
Add an answer*
 
Your name
Email
 

add a question

arrow_blue


Now hiring!
---------------------------
---------------------------
---------------------------
---------------------------
Mercer 
---------------------------
---------------------------
---------------------------