Sunday, December 16, 2007

Consuming RSS with .Net 3.5, LINQ to XML and VB9

Dave (aka Geebs) - Create a RSS Reader in .NET 3.5 using XLINQ

"Visual Studio 2008 and .NET 3.5 are finally out and with it we have some new "toys" to look at.  Today we are going to look at XLINQ and the new ListView control while we build a new RSS Reader. ...

...

Looking at the code below I want to talk mainly about the LINQ portion.  But before we get going on it lets take a brief look at XDocument. In LINQ to XML (XLINQ) we use XDocument or XElement to load the XML into an object for us to query.  XDocument uses XMLReader as its underlying object to read the XML document and thus requires an XMLReader, TextReader, or URI to be passed into XDocument.  Once we have it loaded we will access it through the Descendants Method and Element Method.

..."

This is a simple yet interesting example of using VB9/.Net 3.5/LINQ to XML to build a very simple ASP.Net RSS reader.

(via DotNetKicks.com - Create a RSS Reader in .NET 3.5 using XLINQ)

No comments: