13
shouts

Using WCF for Silverlight Development with Telerik OpenAccess - Stephen Forte

published 344 days, 2 hours, 15 minutes ago posted by StevesSteves 344 days, 22 hours, 15 minutes ago
Friday, August 21, 2009 12:06:02 PM GMT Thursday, August 20, 2009 4:05:43 PM GMT

Microsoft’s Silverlight 3.0 is a great new platform for building line of business applications. With every new technology advancement, we always seem to lose something. With Silverlight we lose the dirt simple data access since Silverlight does not support System.Data.SQLClient and talking to a database directly. This forces us into a service oriented architecture and an asynchronous model. While this is definitely a best practice, it sometimes takes a little getting used to.

With Silverlight we have to wrap up our data access layer into WCF services. (Or Astoria, RIA Services, or something similar.) It is also pretty standard to use some kind of ORM like the Entity Framework or Telerik OpenAccess to map to your database tables and then expose those entities as part of your WCF service. Mapping tables to entities may save you time, however, the part that bothers me is that there is a lot of generic “plumbing” code that has to get written for the WCF service to function...

category: Silverlight | clicked: 59 | | source: www.stephenforte.net | show counter code
tags: .NET RIA Services, Astoria, ORM, RESTful, RIA, RIA Services, Silverlight, Silverlight 3, Telerik, Telerik OpenAccess, WCF, WCF 4, Web Service, Web Services