Bryan's Weblog of Stuff

Recently...
My 2023 Year in Books
I Believe
Mount Removable Drives in WSL2
What I’m Listening To
My 5-Star Rated Books From 2018
My 2018 Year in Books
Books section of the site, I love to read. I read a ton as a kid, but that diminished quite a bit as an adult. Over the past few years, I’ve started reading more, including 52 books in 2017." class="sidenavlink">My 2017 Year in Books
Cutting The Cord, One Year Later
We Cut The Cord!
DIRECTV NOW Update

Archives...
January 2024 (1)
November 2020 (1)
September 2020 (1)
November 2019 (1)
January 2019 (2)
February 2018 (1)
January 2018 (1)
January 2017 (2)
December 2016 (3)
November 2016 (2)
August 2014 (2)
April 2011 (3)
January 2011 (1)
December 2010 (1)
November 2010 (3)
October 2010 (1)
September 2010 (2)
August 2010 (1)
July 2010 (1)
April 2010 (2)
March 2010 (4)
February 2010 (6)
January 2010 (1)
December 2009 (2)
November 2009 (1)
October 2009 (3)
September 2009 (1)
August 2009 (1)
July 2009 (1)
June 2009 (5)
May 2009 (1)
April 2009 (2)
March 2009 (3)
February 2009 (4)
January 2009 (3)
December 2008 (2)
November 2008 (3)
October 2008 (3)
September 2008 (10)
August 2008 (7)
July 2008 (14)
June 2008 (17)
May 2008 (14)
April 2008 (16)
March 2008 (9)
February 2008 (12)
January 2008 (17)
December 2007 (8)
November 2007 (11)
June 2007 (1)
March 2007 (2)
January 2007 (1)
December 2006 (1)
October 2006 (1)
August 2006 (2)
July 2006 (6)
June 2006 (1)
May 2006 (2)
March 2006 (1)
January 2006 (1)
December 2005 (2)
November 2005 (1)
October 2005 (3)
May 2005 (1)
March 2005 (6)
February 2005 (2)
January 2005 (7)
December 2004 (4)
November 2004 (3)
October 2004 (3)
September 2004 (3)
August 2004 (2)
July 2004 (4)
June 2004 (3)
May 2004 (1)
April 2004 (1)
January 2004 (8)
December 2003 (1)
November 2003 (2)
October 2003 (5)
September 2003 (4)
August 2003 (5)
July 2003 (9)
June 2003 (8)
May 2003 (14)
April 2003 (9)
March 2003 (10)
February 2003 (8)
January 2003 (22)
December 2002 (22)
November 2002 (8)
October 2002 (6)
September 2002 (4)
August 2002 (9)
July 2002 (19)
June 2002 (13)
May 2002 (7)
March 2002 (1)
February 2002 (1)
January 2002 (2)
December 2001 (3)
November 2001 (12)
October 2001 (16)
September 2001 (6)
August 2001 (12)
July 2001 (4)
June 2001 (12)
May 2001 (1)
March 2001 (1)
January 2001 (1)
December 2000 (2)
October 2000 (1)
September 2000 (2)
July 2000 (10)
June 2000 (6)
May 2000 (13)

Search:

Friday, January 11, 2008

.NET 3.5, LINQ, XML, VB 9

One of the reasons I moved to a new host is because they were already offering ASP.NET 3.5 on their servers (and the price was right). The next logical step, after moving this site to the new host, seemed to be moving this site to ASP.NET 3.5. In order to try some new things out with LINQ to XML, and VB 9, that has now happened.

The first order of business was to try using LINQ to XML to pull in an RSS or Atom feed of my bookmarks at ma.gnolia, and utilize that data in the Links section of this site. It was ridiculously easy. A couple of lines of code to get a list of all the distinct tags, and a few more lines to grab the title and URL of each bookmark, based on the tag selected. Right now, I am just displaying both in simple lists (using the new ListView control, also very nice), but I will be spiffing it up and adding some additional functionality soon.

Now, since my day job involves working with XML most all of the time, I am very tempted to bring some of my existing code into the world of LINQ to XML.

For more information on LINQ, check out Scott Guthrie's LINQ related posts.

Additional LINQ Links:

By Bryan at 12:18 PM , in Developer Stuff - Permalink
Comments (0) - TrackBack (0)