Question

I'm reading everywhere the running a Silverlight app as out-of-browser allows you to use up to 25MB of isolated storage. I'm writing a 1.6MB file to IS, but get an error saying I've exceeded the storage capacity when it hits 1MB. Yes, I made sure the Out-Of-Browser option is checked on the project settings...

What am I missing?

Was it helpful?

Solution 2

Looks like you have to actually install the out-of-browser application first (open the test HTML file in the BIN folder and right-click on it to get the option). Once this is done, the size is increased to 25 MB. I thought it would do so within debug before installing the app...

OTHER TIPS

From this page on MSDN, it appears that you can increase the size with the IncreaseQuotaTo method.

From MSDN

A quota group's default size is 1 MB. An application can request to increase the quota group size with the IncreaseQuotaTo method. If the user approves the increased size, that size is the new quota group size that all applications on that domain can share. In addition, Silverlight provides a configuration value that enables you to set the isolated storage size to the maximum allowed value. For more information, see the Isolated Storage section of the Group Policy Settings page.

On the debug page of the project properties in Visual Studio select "Out-of-browser application" as the start action. This will start the debug session with the app running out of browser.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top