SerializationException on loading IsolatedStorageBackingStore

Topics: Caching Application Block
Feb 10, 2010 at 2:29 PM

The issue was reported here: The creator didn't mention the backing store so I am not sure if database backing store has the same problem. This is essentially a compatibility issue. If a type is renamed or removed after it's been cached, the cache manager can never be created again. SerializationException is not handled in IsolatedStorageBackingStore.LoadDataFromStore. I think the item should be removed from the store if it encounter such exceptions.

Do I have to write a custom store inheriting from IsolatedStorageBackingStore and override LoadDataFromStore?



Feb 11, 2010 at 5:03 AM

Yes, don't forget to inherit from the IBackingStore as well.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.