A circular reference was detected while serializing an object of type 'FOO'
●
Permalink
●
suggest edit
I ran into an issue earlier when trying to return an entity class through a web service for use in an AJAX page. After some quick research, I came across a post by Darren Neimke that referenced Rick Strahl’s post about LINQ to SQL and Serialization. For me, performing the first work-around and setting the relationship to ‘Friend’ worked.
Thanks Rick and Darren!