Silverlight DAL REST (F-etch, Ex-ecute, Cr-eate, U-pdate, D-elete) FEx & CrUD

Silverlight DAL REST (F-etch, Ex-ecute, Cr-eate, U-pdate, D-elete) FEx & CrUD

Old forum URL: forums.lhotka.net/forums/t/11009.aspx


cmichaelgraham posted on Friday, December 23, 2011

Can all of the layers run in the Silverlight client and have, for example, the DAL use REST to talk to some arbitrary OData like back-end store?  Or does the Server-Side Data Portal have to run on the server for Silverlight apps?

JonnyBee replied on Friday, December 23, 2011

Sure, you can have all the layers running on a Silverlight client. We tend to call this an edge application where CSLA is (possibly) only used on the client.

Just be aware that the async callback must also be sent to the Objectfactory (if using ObjectFactories in your DAL) as the data access itself will be asyncronous.

 

Copyright (c) Marimer LLC