LINQ + WCF + Silverlight

The series of articles on building LINQ + WCF + Silverlight applications, based on an AdventureWorks data model, is complete. You can find each article listed below. The complete solution is available for download below. Just make sure to define the location of your database if you’re running on a server, or the complete path to where you’ve placed the example solution in web.config if you’re using the attached file.

LINQ to SQL Data Layer
Part One: Creating a Reusable LINQ to SQL Data Layer
Part Two: Implementing a LINQ to SQL Repository Pattern
Part Three: Units of Work and Data Sources

WCF Services Layer
Part Four: Configuring WCF Services
Part Five: Defining a WCF Contract for Entities
Part Six: Using Message Handlers

Silverlight 2 Presentation Layer
Part Seven: Consuming Asynchronous Services

Download: Full solution

Note: The data layer is based on an attached SQL Server Express file. Since the services layer references the data layer it needs its own connection string information, and since the attached file is sent out to the ‘Bin’ folder, this solution has a hard-coded value for the connection string in ServiceLayer’s Web.config file. You’ll need to change this value to express your own database location relative to where you’ve placed the solution.

kick it on DotNetKicks.com

Sharing
  • Print this article!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Identi.ca
  • TwitThis

Trackbacks/Pingbacks

  1. [...] of the supporting code is based on these articles:“LINQ + WCF + Silverlight““Frictionless data persistence in Silverlight 2″“From ASP.NET to [...]

  2. [...] Article roadmap (and download): LINQ + WCF + Silverlight [...]

  3. [...] roadmap: LINQ + WCF + SilverlightDownload: Full solution Technorati Tags: [...]