D
Dan
Serialization is great except that it does not accommodate version changes
(adding a property to a class renders it unable to deserialize because an
exception is thrown).
I think I understand the philosophy underlying the choice of the
architecture used by MS in thier decsion to enable version change only by
implementation of ISerializable. However, I want to see the equivalent of
an 'On Error Resume Next' (aka 'go for it') in the deserialization process,
I want to be able to override the BinaryFormatter to hydrate everything it
can without crashing.
It's utterly practical, no? Saves code and bugs introduced in the ugly (my
opinion) ISerializable implementation.
Dan
(adding a property to a class renders it unable to deserialize because an
exception is thrown).
I think I understand the philosophy underlying the choice of the
architecture used by MS in thier decsion to enable version change only by
implementation of ISerializable. However, I want to see the equivalent of
an 'On Error Resume Next' (aka 'go for it') in the deserialization process,
I want to be able to override the BinaryFormatter to hydrate everything it
can without crashing.
It's utterly practical, no? Saves code and bugs introduced in the ugly (my
opinion) ISerializable implementation.
Dan