I am trying to create a simple Silverlight application that calls the ATOM feed and displays the article title and submission date. I found it very easy to do with RSS feeds and LINQ, but I was stuck trying to do the same with the ATOM feed. There are no errors in the code below, but it also did not give any results! What am I missing?
ATOM source: weblogs.asp.net/scottgu/atom.aspx
Source Tutorial: www.switchonthecode.com/tutorials/silverlight-datagrid-the-basics
Source:
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Xml.Linq; namespace BasicDataGridTutorial { public partial class Page : UserControl { public Page() { InitializeComponent(); } private void btnPopulate_Click(object sender, RoutedEventArgs e) {
source share