I would like to configure the cache of database objects (i.e. rows in a table) in memory in silverlight, which I will do using WCF and linq-to-sql. When I have objects in memory, I plan to use MSMQ to retrieve new objects whenever they are changed. This is a somewhat complicated approach, but the goal is to reduce database travel and provide instant data transfer between Silverlight applications connected to MSMQ.
My Silverlight applications are designed for a long time, and the amount of data that will be cached will be small. I plan to keep the cache in memory using local storage.
In any case, in order to handle updated objects that come in, I would like to know if the user has modified an existing object. Can I use some kind of data binding event to set a flag indicating that the object is changing?
Maybe the best thing is to make a cache?
Thanks!
source share