Skip navigation.

What Makes a "Strong Player"?All recent postsStarbucks the New McDonald's

Version Tolerant Binary Serialization

Here’s an interesting MSDN article, Version Tolerant Serialization, on how to resolve issues with serialization and subsequent deserialization of different versions of the same component. You know the pain: you serialize a component, change it and then attempt to read it back. In 1.1 you could rarely get away with it, but in 2.0 you have more help.

If you code primarily for 1.1, take a look at SerializationBinder and IDeserializationCallback.

Comments

No comments yet

Emails and Notifications

Would you like to be notified when somebody responds to this post? 

TrackBacks

Sorry, TrackBacks are not allowed.

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):