Default javascript serializer in .Net is not the best when it comes to dates. Mvc uses a proprietary date format. To avoid all this and circular reference issues, read the following article to use Json.Net as a the serializer.
http://wingkaiwan.com/2012/12/28/replacing-mvc-javascriptserializer-with-json-net-jsonserializer/
http://wingkaiwan.com/2012/12/28/replacing-mvc-javascriptserializer-with-json-net-jsonserializer/
No comments:
Post a Comment