Performance and efficiency utility and process. A transformative, conversion-process type at the core, dealing with previously serialized sequence of bytes, into an object. It is used most widely for storage and transmission/transmittal of data/objects, to be later recreated, after being stored and transferred. Converting the serialized objects from before, or taking a serialized sequence of bytes into an object is known as de-serialization (the reverse, or opposite, restoring).
When sending information over a network for example, conversion and representation actually matter, in order to make sense of it. That is why serialization is used. Deserialization is the data-structure extraction from a series of bytes that make it possible.
The Benefits and How is serialization used?
When it comes to why, how and the advantages to de-serialization, consider:
- persisting objects method more convenient than writing their properties to a text file on disk, easy re-assembly, simply reading it back in
- issuing remote procedure calls (SOAP)
- Ability to/for distributing objects (COM)
- Detecting changes in time-varying data.
It all rests on the premise and assumption that the hardware can reliably reconstruct a serialized data stream, simpler and faster, directly, effectively and accurately so. It avoids issues and difficulties like byte ordering, memory layout, different ways of representing data structures in different programming languages.
Inherent to any serialization scheme is that, because the encoding of the data is by definition serial, extracting one part of the serialized data structure requires that the In order to de-code or de-serialize the entire object has to be read from start to end, and reconstructed, proving a much more robust, complex, non-linear storage organization.
The process is driven from common code, (i) detect differences between the objects being serialized and their prior copies, and (ii) provide input for the next such detection. Can be useful for printing-processes and even programming of user interfaces whose contents are time-varying.
Key Exam Points
- Use Deserialization, ConversionTechniques for improving processes and performance, coding and decoding, storage and transmittal of data
- Review the relevant content, references and chapters on Fundamentals, creating objects, Serialization.
- For the exam, study practical and hands-on examples for deserialization, that help you to gain a better understanding of this topic
- Take the practice test questions, exam sample questions (multiple-choice, application types)
Serialization, deflate, marshalling
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.