Tutorial: Data From a SQL DB via WCF (using LINQ)

My 4th tutorial Displaying SQL Database Data in a DataGrid using LINQ and WCF is now available, as is the source code and a version of the tutorial in PDF

For the moment, I recommend the PDF version as the images are clearer. We're fixing up the HTML versions of all the tutorials even as I write this.


This tutorial walks through

  • Creating a LINQ query against your SQL Server database
  • Creating a WCF service to provide access to the results of your LINQ query
  • Binding Silverlight 2 controls against the WCF service

We will, over time have a way to provide direct feedback for each tutorial, but for now, please do send email or use the forums to ask questions about anything you read in the tutorials.

Thanks again,



About Jesse Liberty

Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen Pluralsight & LinkedIn Learning courses. He was a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Xamarin Certified Mobile Developer and a Xamarin MVP and a Microsoft MVP.
This entry was posted in z Silverlight Archives. Bookmark the permalink.

12 Responses to Tutorial: Data From a SQL DB via WCF (using LINQ)

  1. David says:

    Thanks, this has helped heaps. I’m using VS 2013 – the downloaded code didn’t work. I’ve built it directly from the pdf tutorial, great instructions and explanations. Thanks again your tutorial is much appreciated.

    (The web.config didn’t need to be touched I tried but it didn’t work – the second time I left it alone and it all worked).

  2. Excelplent goods from you, man. I have understand your stuff previous to and you’re
    just extremely magnificent. I really like what you have acquired here, really like what you’re saying and the way in which you sayy it.

    You make it enjoyable and you still care for tto keep it sensible.
    I cabt wait to read far more from you. This is actually a wonderful webb site.

    My weblog: Las Vegas Washer Service

  3. Thx a lot.
    Really helpful 🙂

  4. HP says:

    good article…really good explanation…

  5. Peter says:

    Hi Jesse,
    I’ve tried to open your solution in VS2008 but getting open errors on the SQLData project.
    Are there any requirements?


    • I am guessing that since this tutorial is 2 years old, it may be a bit out of date. We’re evaluating all the tutorials and videos to find those that are out of date and either update or eliminate them. It might make sense to write to someone who has had it work (see the comments) to see if they had to do anything to bring it up to date, and meanwhile I’ll add it to my “todo” list.

  6. Pingback: Tutorial: Data From a SQL DB via WCF (using LINQ) | Jesse Liberty … | Yoobz.com

  7. Pingback: Silverlight Cream for April 27, 2010 — #849 | Silverlight WebDev Insider

  8. Pingback: Tutorial: Data From a SQL DB via WCF (using LINQ) | Silverlight Geek | Yoobz.com

  9. Brian Gibbs says:

    Just what I needed. Thanks, Jesse!

Comments are closed.