AndreyAkinshin / knockout-mvc

Power of Knockout.js for ASP.NET MVC
http://knockoutmvc.com
203 stars 125 forks source link

IIS fails when model has circular references #8

Closed rnikitin closed 11 years ago

rnikitin commented 11 years ago

Hello,

Found, that IIS fails, when model contains circular references. It is known issue of Microsoft JavaScript Serializer.

Please change the serializer to Json.Net.

Json.Net is faster and has more predictable behavior and I'm already configured my Model to ignore circular references.