replace WCF built-in JavascriptSerializer with Newtonsoft Json.Net json serializer

WCF doesn’t use JavascriptSerializer. It uses DataContractJsonSerializer. And yes, you can replace it with Json.NET by writing a custom message formatter as exemplified in the following blog post.

Leave a Comment