This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hey guys. Thanks for your help so far, your service has been great. I have one more question for you. I'm developing an app that will fit well in a cloud environment but I also know that some customers will be uncomfortable with data security so I want to also provide a desktop only deployment option. After experimenting with several approaches I have settled in on:
My biggest question is the data transfer architecture. Do you have any recommendations on which approach to use to maximize reusability of code and to take full advantage of Lightspeed 4. (I spent some time today working through the RIA Services example (Film Festival) and it seems that you lose a lot of Lightspeed benefits by running it through RIA Services. In all cases, I don't expect concurrency issues - it will be single user app with not a large amount of data going across the wire but there will be pretty heavy math on either the server or client side depending on the mode. The data calls will also be pretty staright forward without a lot of complexity. Ultimately, it would be nice to lock in on an architecture that would share most of the Model code while deploying to the cloud, descktop disconnected and to WindowsPhone in Connected/Disconnected/Sync Modes. Any thoughts would be appreciated.
|
|
|
Hi Paul, Unfortunately you cant use LightSpeed directly within a Silverlight application as all assemblies have to be specifically built against the Silverlight runtime (a similar restriction exists with Windows Phone) and we dont have a Silverlight specific version of LightSpeed (or a distributed endpoint like the DistributedUnitOfWork), so your options would either be to expose a set of custom services if you can work with a more defined contract or to use RIA Services if you want more flexibility with your querying. If you need to target both Silverlight clients and Windows Phone 7 then I would probably look at setting up some custom services based on DTOs as this would give you most flexibilty and reuse in targetting both platforms. Hope that helps - let us know if there are any follow up questions of course :)
Jeremy
|
|