September 3rd, 2008
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…
Continue reading "LINQ + WCF + Silverlight" »
August 26th, 2008
In this fourth instalment we’re going to start thinking about the services layer that will ultimately link our Silverlight client to the data that drives it on the data layer. The services layer in this example is essentially a combination of a business layer, containing business objects, and a services layer, providing operations on those business objects, but the distinction isn’t necessary to illustrate the example.
Slight disclaimer: In the examples to come I hint at the possibility of another concept called the “domain layer”, an approach from Domain-Driven Design (DDD) that involves creating a domain model first, which describes…
Continue reading "LINQ + WCF + Silverlight (Part Four)" »
July 25th, 2008
There are a few differences between ASP.NET and Silverlight beyond the API that require a subtle shift in gears before you can really jump in and start working. Here are five you might find useful to know.
Leap One: Your server isn’t listening (to the browser)
You’re used to considering a request to the server for an ASP.NET page as a single movement from client to server and back again. The markup you prepare is the template from which a fully expressed page is returned to the user’s browser.
With Silverlight, the user’s request to your server is for the entire client-side application…
Continue reading "From ASP.NET to Silverlight in Five Leaps" »
Socialized