I have class A which has ISerializable implemented for custom serialization. Now i need to pass around this class A in WCF.
I want to use DataContractSerializer for WCF serialization not my custom serialization.
WCF would not allow it, it does not allow [DataContract] atribute if class has ISerializable implemented.
How can i use DataContractSerializer(For WCF) and ISerializer(For Persistance) on same class?