How to get around the Circular Reference issue with JSON and Entity
- by DanScan
I have been experimenting with creating a website that leverages MVC with JSON for my presentation layer and Entity framework for data model/database. My Issue comes into play with serializing my Model objects into JSON.
I am using the code first method to create my database. When doing the code first method a one to many relationship…