Using the Visual Studio integrated development environment and the C# programming language, we will develop a universal application for reading news feeds (RSS) from internet sources.
Information
RSS is a software mechanism for exchanging news between websites or between a site and a user. It represents a set of formats for delivering information from the World Wide Web.
The MainPage.xaml file contains the source code for the application's user interface design and is written in XAML. Copy (Ctrl+C) and paste (Ctrl+V) the fragment below into your application.
View of the user interface design (XAML) in Visual Studio while developing the application:
Fig. 1.44. View of the user interface design
MainPage.xaml.cs
The MainPage.xaml.cs file contains the source code for the application's business logic and is written in C#. Copy (Ctrl+C) and paste (Ctrl+V) the fragment below into your application.
Demo
View of the business logic (C#) in Visual Studio while developing the application:
Fig. 1.45. View of the application's business logic
Run the application from the menu: Debug > Start Debugging or by pressing the F5 key.
Fig. 1.46 Universal application for reading internet news feeds (RSS sources)