What are the deficiencies of the built-in BinaryFormatter based .Net serialization? (Performance, flexibility, restrictions)
Please accompany your answer with some code if possible.
Example:
Custom objects being serialized must be decorated with the [Serializable] attribute or implement the ISerializable interface.
Less obvious example:
Anonymous types can not be serialized.
If you mean
BinaryFormatter:events)I’ve spent lots of time in this area, including writing a (free) implementation of Google’s “protocol buffers” serialization API for .NET; protobuf-net
This is:
ISerializable(for remoting etc) and WCF