DJ's Blog

David Jeavons' Blog at vbCity

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

JanFebruary 2006Mar
SMTWTFS
2930311234
567891011
12131415161718
19202122232425
2627281234
567891011

Archives

Blogs I read

Saturday, February 11, 2006 #

I have finally started to look into Visual Studio 2005 in more detail today and something caught my attention on the start page. It was a link to an MSDN TV clip that introduces you to the My.Blogs object that has been created for use with Visual Studio 2005. This object allows you to add blogging capabilities directly into your Windows and ASP.NET projects and also demonstrates how you can extend the My namespace.

I have downloaded the sample code but I had a little trouble installing the Template. However, I was able to easily add a reference to the MyBlogs.dll file and using the following snippet of code (provided by the MSDN documentation) was able to download my current blog entries into a DataGrid.

Dim myFeed As MyBlogs.Feed

myFeed = MyBlogs.Feed.Read(
"http://blogs.vbcity.com/djjeavons/Rss.aspx")
DataGridView1.DataSource = myFeed.Entries

So if anybody is interested in adding blogging capabilities to their application I recommend watching the short introduction, downloading the sample and reading the related articles.

posted @ 2:14 PM