17 April 2008
Short and Sweet "Silverlight 2.0, LINQ and WCF in 5 Minutes" Video
Download Source
This is the first video in my new "Short and Sweet" video series. I'm going to continue with Silverlight, LINQ and WCF path for the series. Please ping me if you have an idea for a future video.
This video takes you through the minimum for building a Silverlight 2.0, LINQ and WCF data driven web app.
Prereqs:
Silverlight 2.0, http://silverlight.net
Visual Studio 2008
AdventureWorks DB
Here are the steps the video follows.
1) Install AdventureWorks Databases from:
http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004
AdventureWorksDB.msi
Attach DB using SQL Management Studio
2) Create new Silverlight Project with WebApp
3) Add LINQ to SQL Classes
4) Drag Contact class onto designer
5) Set Serialization Mode to Unidirectional
6) Add WCF Service item
7) Change binding to basicHttpBinding
8) Create GetContacts method in Interface and in class.
9) Add service reference to Silverlight Project.
10) Add DataGrid to Page.xaml
11) Set DataGrid x:Name
12) Set AutoGenerateColumns to true
13) Add Page.Loaded EventHandler
14) Add Completed EventHandler
15) Bind results to grid
16) Run app
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.