Search This Blog

Monday, December 13, 2010

Using JSON.NET as a default serializer in WCF HTTP/Web/REST (vNext) - Christian Weyer's Blog

link -> Using JSON.NET as a default serializer in WCF HTTP/Web/REST (vNext) - Christian Weyer's Blog
Just yesterday a client walked up to me and asked how to replace the default JSON serializer in WCF’s web programming model (whether in .NET 3.5 or 4.0). Honestly, this is not too easy – if you aim at adding a different JSON engine - like the wonderful JSON.NET – to the WCF pipeline you won’t have too much fun. A lot of plumbing works needs to be done. A more practical approach is to use Message or Stream as the response/request type and apply the serialization/deserialization inside the service façade operation implementation. I thought there should be an easier...
Jerry thought you might be interested in this