How to set Json.Net as the default serializer for WCF REST service
The usage of Extending Encoders and Serializers (see http://msdn.microsoft.com/en-us/library/ms733092.aspx) or other methods of Extending WCF like usage of DataContractSerializerOperationBehavior is very interesting, but for your special problem there are easier solution ways. If you already use Message type to return the results an use WCF4 you can do something like following: public Message UpdateCity(string code, … Read more