« Silverlight – DatePicker Hiding Time | Main | WebRequest - Expectation Failed »

Blend Missing Method - Silverlight Isolated Storage

As your Silverlight applications get more sophisticated you might run into a situation where a UI element ends up invoking  a method that uses Isolated Storage.  In our case we were caching some metadata locally to improve performance.  It turns out there’s some compatibility issue with the design surface and Isolated Storage.  You can read more details on the forum thread here.  The solution is to check if your in design mode and if so stay away from Isolated Storage calls.

From Blend you might see this throw an error like the following image:

image

If you were to attach a debugger to blend you would see what in your code is causing the problem.  In this case it’s the call to File Exists.

image

Posted on Saturday, December 27, 2008 at 07:31PM by Registered CommenterDavid Yack | CommentsPost a Comment

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>