I need to hook up my own XmlSerializer (need to do 开发者_运维知识库some custom prepataions). They are all "valid" and easy to do when creating an XmlSerializer, but... ...when using WCF using the behavior am not creating the serializer. So I run into a problem.
Anyone has a reference how to replace the XmlSerialiaztionBehavior of WCF and to "inject" a custom prepared XmlSerializer?
You might want to look into custom message formatters, or here on msdn.
精彩评论