When should I use XML Serialization vs. Binary Serialization in the .NET framework?
I'm confused - when should I be using XML Serialization and when should I be using Binary Serialization in the .NET framework? Adeel Specific to .NET, If you have two applications that are using the same type system, then you can use binary serialization. On the other hand if you have applications that are in different platforms then it is recommended to use XML Serialization. So if i am writing a chat application (client and server), I might use binary serialization, but if I later decide that I should use Python to write a client, then I may not. Marc Gravell Both of the existing answers