.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Articles >> Silverlight >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Silverlight 5 WCF RIA Services - Part 2

Posted By:Mahadesh Mahalingappa       Posted Date: August 20, 2011    Points: 200    Category: Silverlight    URL: http://www.dotnetspark.com  

In this article we will explore how to design a Complete User Page using WCF Ria Service

Silverlight 5 WCF RIA Services - Part 2 :
In this article we are going to continue to explore the WCF Ria Services with Silverlight 5.
As we saw in our prevoius example WCF Ria Services provide us with a clean and simple way of binding our control to our data model .
Now lets go one step further I would like to design a Complete User Page using WCF Ria Services .
Lets get started . Create a new page NewPage.xaml .
Go to the Data Source .

Expand the Tree of the Article Entity .

Select the ArticleID and say customize .

Select the Associated Control as ComboBox .

Click ok . and the icon changes to combo box as shown below :

Simply Drag and Drop the Article Id  on to the NewPage.xaml . The Design Page should now look as below :

Modify the App.xaml to make the NewPage.xaml as the start up and give it a run .

Now go back to the Data Source . select Title and customize .

Select the Associated Control as TextBlock .

Click Ok and the icon changes to TextBlock .

Similarly modify for the Body .

Drag and Drop both to the designer area .

Build and Run it . Title and Body corresponding to the article id are displayed .

Modify the article Id .

Title and Body are modified as shown below :

Behind the scene this was the code that was generated .  Wow now that would have been tough . Thanks to WCF Ria Services we were saved . All the Binding work was taken care for you by Ria services Support .



In the Next Post we will learn about some advanced features of WCF Ria Services . Till Then . Happy Coding

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend