The MainPage class.
partial class MainPage
private int _maxFeeds = 20;
Loaded += new RoutedEventHandler(MainPage_Loaded);
FeedListView.SelectionChanged += new
FetchButton.Click += new RoutedEventHandler(FetchButton_Click);
void FeedListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
ListView rssFeeds = (sender as ListView);
RSSItem selectedItem = rssFeeds.SelectedItem as RSSItem;
if (selectedItem != null && selectedItem.Links.Count > 0)
async void MainPage_Loaded(object sender, RoutedEventArgs e)
private async void FetchButton_Click(object sender, RoutedEventArgs e)
private async Task GetFeeds(string url)
RSSFeed feeds = await _client.GetFeeds(url, _maxFeeds);
this.DataContext = feeds;
About the Author
Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].
The new ledger feature in SQL Server 2022 provides blockchain-based security to ensure data isn't tampered with.
User experience expert Debbie Levitt provided some saucy answers about an upcoming Visual Studio Live! presentation with an even saucier title: Fast Focus: WTF UX - UX Research and Design AMA.
Developers can now sign up for a private preview of enhanced chat capabilities coming to GitHub Copilot, the "AI pair programmer" that works in the Visual Studio 2022 IDE and in Visual Studio Code.
With advanced generative AI systems reshaping software development, Microsoft's Mads Kristensen detailed the many ways AI will improve coding in Visual Studio.
With Google recently releasing a generative AI-powered search bot called Bard to rival Microsoft's "new Bing" search experience, we put both to the test, feeding them identical questions about Visual Studio and .NET.
> More Webcasts