Making Sense Of Serialization
Storage, transferral or re-creation of data made possible by these processes in .NET frameworks context.
Serialization is a conversion process changing/altering and transforming the state of an object into a form that can be persisted or transported. The opposite or antithesis of/to serialization is de-serialization, which takes a stream changing it into an object. These processes allow for all data to be easily stored and transferred. The .NET Framework features two serializing technologies:
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.
A great example of this, is remoting which uses serialization to pass objects "by value" from one computer or application domain to another.
XML serialization or open standard, sharing data across the Web. As is SOAP another attractive choice. Form choosing a technique, customizing it, types: BinaryFormatter, SOAPFormatter, XML, data verification, validity, retrieval and transfer, how to serialize and deserialize, how to do so between versions, implementing, applying practical serialization customization, callbacks, inter-operability,
Key Exam Points
- Uses, creation, application and maintenance of serialization for .NET Frameworks development and programmic dynamics/contexts.
Review the chapters on serialization, fundamentals, collections, generics, searching, modifying and encoding text, customization and security, for all the different applications and iterations of this utility.
- For the exam, study practical and relevant, lab and real-life examples for serialization, that help you to gain a better understanding of this topic
- Do the practice test.
This article is based on the 2nd edition of the Microsoft .Net Framework Application Training Kit with the purpose to help 70-536 Exam takers to succeed. I constantly look for ways to improve the content. Please leave a comment about this article or drop me a message if you would like to see changes for this site.