Serialisation

This is the mechanism that allows us to represent objects in persistent text form.


Deserialization

This allows us to convert a data stream back into an object



DataContract



NetDataContract

This is similar to DataContrctSerializer and has the same interface
This class however does not require the types to be explicitly registered for serialisation.


Formatters

XML and Binary



Binary Serialisation

There are two ways to support this
The first is using the {Serilizable] attribute


XML Serialisation

Attribute based


Derived Classes

A child object is an instance of a derived class



© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext