isolatedstorage

How do you Serialize ScriptObjects to JSON to save in Silverlight Isolated Storage?

According to this article (http://msdn.microsoft.com/en-us/library/cc197951(VS.95).aspx) Silverlight 2 Beta 2 supports the DataContractJsonSerializer object. But, when I try to use it VS says "Type 'DataContractJsonSerializer' is not defined". I have a method marked as ScriptableMember that gets called from JavaScript and is passed an O...

Is it possible to reference a file stored in Isolated Storage by its URI?

Using this previous question as motivation, I would like to temporarily store images and videos in Isolated Storage. My application (written in WPF/C#) will allow a user to review these temporarily stored items by viewing their contents in a MediaElement. I was hoping to set the MediaElement's Source Property to a video or image's URI st...

When should I opt for IsolatedStorage versus AppData file storage?

I've recently discovered the IsolatedStorage facilities in .net, and I'm wondering when I should use them for my application data versus when I should use (e.g.) Application.LocalUserAppDataPath. One thing that I've noticed is that Application doesn't exist outside of a winforms app, so it seems that IsolatedStorage might make sense for...

C# ASMX webservice semi -permanant storage requirement

Hi, I'm writing a mock of a third-party web service to allow us to develop and test our application. I have a requirement to emulate functionality that allows the user to submit data, and then at some point in the future retrieve the results of processing on the service. What I need to do is persist the submitted data somewhere, an...

Does Windows Installer use Assembly Version or File Version to update dlls

I have a .net (2.0) winforms application that I need to upgrade on client machines. At the moment this is done by incrementing the Assembly Version and File Version on all of the projects and incrementing the version on the Installer project in VS2008. The application now makes use of Isolated Storage to save some user settings in an XM...

When upgrading an Assembly, what's the best way to migrate files in Isolated Storage?

I have a .Net 2.0 C# application that occasionally gets updated and the Assembly Version and File Version are incremented. This is all working fine, but it also breaks storing xml settings files in Isolated Storage. (The xml files are generated by DevExpress XtraGridView.SaveLayoutToXml()) Is there a way to copy these files from the old...

IsolatedStorage, trying to demonstrate the different isolation levels - can't for domain isolation

I've edited and trimmed this to try and get it closed because the site is prompting me to accept an answer or add a bounty. I did an experiment which had calls to GetUserStoreForAssembly and GetUserStoreForDomain in a library referenced by a console app but didn't understand why I was getting more stores than I expected in one case and...

Silverlight MVVM Isolated Storage

I've tried to use IsolatedStorageSettings in my ViewModel, but these are not getting retained across browser refreshes (F5). for example; //look in the IsoStore for remembered details IsRememberMe = IsolatedStorageSettings.ApplicationSettings.Contains(Constants.LOGIN_REMEMBERED_USERNAME); if (IsRememberMe) { ...

Rename File in IsolatedStorage

I need to rename a file in the IsolatedStorage. How can I do that? Thank you ...

What do you use IsolatedStorage in Silverlight for?

I don't see a lot of value for Isolated Storage except to maybe cache temporarily some images or code locally. Being that you only get 1MB I don't see much value in it even for this. Saving settings in Isolated Storage doesn't make a lot of sense since the user could access your silverlight application from another browser on a different...

Are there any issues with Isolated storage and Vista?

My problem is similar but not the same as that exhibited in: “Could not find file” when using isolated storage I've written an application that saves user settings in a file in isolated storage, I'm using the user store for assembly storage. The application checks for a file in isolated storage on startup and if it's not there as...

change IsolatedStorage location

Hello, Is there a way to change location of IsolatedStorage file? I am using .NET 3.5sp1 and I write my application in C# I would like to change its location to D:\TempDir Regards, Mita ...

Silverlight isolated storage: what identifies an "application"?

The docs for Silverlight's IsolatedStorageFile.GetUserStoreForApplication just say that the isolated storage is specific to the "application", and that each different application will have its own storage independent of all other "applications" (but with one quota for the entire domain). That's great, but I haven't found anything yet th...

Can all apps access all files in Isolated storage on shared asp.net server?

I'm considering using IsolatedStorage for my temporary files. However, the documenation seems to imply that the storage space is determiend by the windows user account, which for an ASP.NET application is NETWORK SERVICES. If there are multiple websites/applications using NETWORK SERVICES as their account, won't that mean they all will...

Siverlight 2.0: IsolatedStorage vs Client Bin for Media File

Hi, I want to play a media file on page in Silverlight 2.0 application. Currently, my media file is located in Client Bin folder (where XAP file is located) in asp.net web server. Would you recommend to use isolated Storage for media streaming or Client Bin folder to stream. I am using 'MediaElement' control to play the video. The siz...

silverlight isolatedstorage security implications

I have a LOB application in SL, one of the aims is to save partially entered data to persist user's state. for example, you start adding a new employee to system, close the browser (or it crashes), next time you open the browser, you have whatever data you had entered before. the saving and loading is easy, I was wondering if there is a...

Clear another application isolated storage

Application1 uses Microsoft Enterprise Library Caching Application Block with IsolatedStorageBackingStore to cache data from database accessed by Internet. The task is to create another Application2 (helper application like "Adobe Flash Player uninstaller") which will be able to clear Application1 cache (this will be one of many Applicat...

Serialiser library for Silverlight

I'm developing a modular app using prism in SL3, one of the modules is responsible for persisting the application settings in the isolated storage (so that when you open the app next time, you continue where you were). It works perfectly, except that I don't like the way dependencies are wired now. I want to have a type-agnostic settin...

.NET: How to write a file with limited permissions for temporary data

I have a library I am using where the only way to pass in config data is by giving it a filename where it can go to read the data. I am writing another shared library to be used by all of our applications which consumes this, and so I need a way to store some data in a local temp folder, and then delete once I have called the shared lib...

Problem on IsolatedStorage with ClickOnce

I have created an application that can save data both local drive and isolated storage. Then I have tested it by deploying via ClickOnce with FullTrust. This worked correctly, but when I set it to PartialTrust (Internet zone), the application cannot start up. How to solve this problem? Thanks, Ek Add Information #1: I have tried to cr...