Archive

Posts Tagged ‘LINQ’

Building Objects from XML of eBay API with LINQ

July 29th, 2009 Bali No comments

In this post, I’d like to illustrate the power of LINQ with code sample. I query the web service published by eBay. Refer to this article about eBay API concepts.

EbayItem.cs

EbayItem.cs

Program.cs

Programs

Done! in-memory objects are built. You can also follow ScottGu’s blog to wire up this code with Silverlight UI.

Categories: Uncategorized Tags: , ,