RSS Widget 2 In Silverlight 3 with Data Persistence

Introduction

This is a new Version of my old RSS Widget Article. As you will see it has the feature of data persistence using ISO Storage.

Creating the Silverlight Project

We will create a simple Silverlight Project and name it asRSSFeedWidget2.

RSS1.gif

Figure 1.1 Creating Silverlight Project

Designing our Sample Application

I have used Blend 3 to design our simple application. I have kept one TextBox where the user can paste the RSS Feed URL and two buttons, one for search feed data and the other one for adding the URL into persistence (ISO Storage). I have used three png images to accomplish my design.

RSS2.gif

Figure 1.2 Designing the Application

Checking for RSS URL in Persistence

When the User control will be loaded, it will check the availability of the key and if present it would display the RSS Data, Otherwise it would give exception as no key found. The following code will achieve our goal.

See full detail: http://www.c-sharpcorner.com/UploadFile/dpatra/RSSWidget2InSilverlight3WithDataPersistence06302009020414AM/RSSWidget2InSilverlight3WithDataPersistence.aspx

Comments

Popular posts from this blog

Asynchronous Socket Programming in C#

Url Routing MVC TUTORIAL

WCF Chat Sample