Using my ISerializable implementation instead of DataContractSerializer
Posted
by
mpm
on Stack Overflow
See other posts from Stack Overflow
or by mpm
Published on 2012-06-16T02:26:38Z
Indexed on
2012/06/16
3:16 UTC
Read the original article
Hit count: 191
wcf
My WCF client and server exchange objects whose types are defined on a class library shared by both, the server and the client. These objects implement custom serialization via ISerializable. However, my custom serialization is not being used. DataContractSerializer is being used, instead. How do I force my custom serialization to be used?
The reason why I need to use my own serialization is because I do trasfer some big object graphs and my serialization algorithm does a good job in compressing/speeding up things.
© Stack Overflow or respective owner