LINQ to SQL and Ajax Serialization Errors

Today, while developing some new features for Ambient Places, I started getting weird serialization errors when making web service calls.  The error message that came back was:

"A circular reference was detected while serializing an object of type […]"

A quick search to see if anybody else was seeing this problem led me straight to this article, which solved my problem:

LINQ to SQL and Serialization – Rick Strahl’s Web Log

If you are using Linq to SQL (or plan to) then I highly recommend reading that article.

Advertisements

~ by D on November 6, 2007.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: