I have a web service that receives data in XML. I wish this XML to be encrypted before it is sent and have the serializer handle the decryption. This would let the service methods receive the objects as normal with the encryption detail hidden from them.
I have looked at IOperationBehaviour and inheriting from DataContractSerializerOperationBehavior however I'm finding it hard to find good documentation on how these work and the best way to override/implement them.
Is what I'm trying to do possible? Am I going about it in the right way? Any pointers would be most welcome.