Calvin Nguyen 0 Newbie Poster

Hi all,

I have a Windows Communication Foundation service which queries the Entity Framework and retrieves data in the form of Entity objects. I'd like to serialize these objects to JSON and send them back to the client to be interpreted in Javascript.

It seems this is tricky, according posts like these:


http://bloggingabout.net/blogs/progr...tion-woes.aspx

http://blogs.microsoft.co.il/blogs/i...t-to-json.aspx


At this time, what's the best way of doing this using Visual Studio 2010 Beta 2? Data transfer objects are one way but is there anything more elegant?

Thanks,

Calvin

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.