Questions tagged [isolatedstorage]

Isolated storage is a data storage mechanism for Windows applications that provides isolation and safety by defining standardized ways of associating code with saved data

Isolated storage is a data storage mechanism that provides isolation and safety by defining standardized ways of associating code with saved data.

Standardization provides other benefits as well. Administrators can use tools designed to manipulate isolated storage to configure file storage space, set security policies, and delete unused data. With isolated storage, your code no longer needs unique paths to specify safe locations in the file system, and data is protected from other applications that only have isolated storage access. Hard-coded information that indicates where an application's storage area is located is unnecessary.

http://msdn.microsoft.com/en-us/library/3ak841sy.aspx

921 questions
37
votes
8 answers

Where is .NET "Isolated Storage" stored?

Where would the physical files be?
Corey Trager
  • 22,649
  • 18
  • 83
  • 121
21
votes
3 answers

local storage in IE9 fails when the website is accessed directly from the file system

Both statements window['localStorage'] and window.localStorage are undefined when accessing the url "file:///C:/index.html" Is localStorage off limits when running websites on the filesystem? PS. I'm running the website on a Windows 7 phone hosting…
DevNull
  • 763
  • 5
  • 17
  • 30
19
votes
3 answers

Can I get a path for a IsolatedStorage file and read it from external applications?

I want to write a file where an external application can read it, but I want also some of the IsolatedStorage advantages, basically insurance against unexpected exceptions. Can I have it?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
12
votes
2 answers

Does anyone use .NET's System.IO.IsolatedStorage?

I was reading about the System.IO.IsolatedStorage namespace in .NET and found that I can use it to store a file to a location unique for my assembly or executable. For example, the following code: using System.IO.IsolatedStorage; public class…
Nick Ramirez
  • 473
  • 5
  • 15
11
votes
1 answer

How to test Windows Phone 8 app update, migrate IsolatedStorageSettings

I have completely rewritten one of my Windows phone 8 app. I use IsolatedStorageSettings to store user specified settings in both "old" and "new" versions of my app. In my new app version I just convert the old settings structure to new one. Now I…
devha
  • 3,307
  • 4
  • 28
  • 52
10
votes
2 answers

Setting IsolatedStorage quota for .NET 4 desktop applications

This page about storage quotas says to use the mscorcfg tool. BUT the mscorcfg page says the tool is only for older versions of .NET So... what's the .NET 4 way of setting this value for desktop (not Silverlight) applications?
Robert Levy
  • 28,747
  • 6
  • 62
  • 94
10
votes
4 answers

ClickOnce and IsolatedStorage

The Winform application is release with ClickOnce in our Intranet. We store personal preference for the GUI in the Isolated Storage. All works pretty fine :) The problem is when we have a new version of the application, we publish... all preferences…
Patrick Desjardins
  • 136,852
  • 88
  • 292
  • 341
9
votes
2 answers

Initialization failed on IsolatedStorage

I am using EPPlus 2.8.0.2 library in my ASP.NET MVC 3 app to generate excel files. This application runs on IIS 6 on Windows Server 2003 R2. The offending line is this: xlsdoc.GetAsByteArray xlsdoc is a properly loaded ExcelPackage…
Endy Tjahjono
  • 24,120
  • 23
  • 83
  • 123
9
votes
5 answers

Where is isolated storage from WP7 emulator located on PC?

When we use simulator and store files in isolated storage. Where is the file actually stored on computer? I mean the path.
Vaysage
  • 1,326
  • 2
  • 15
  • 30
9
votes
2 answers

Where to save application data in .NET application

My application is something similar to a Contact Manager. Let's say a user can enter contacts with their addresses. I have the code and technology to save my contacts to a file. But where do I save that file? Considering this is a .NET application…
Peter
  • 13,733
  • 11
  • 75
  • 122
8
votes
1 answer

Lazily creating isolated storage

My library is using isolated storage but only does so on demand. So I'm using Lazy. However, this throws: System.IO.IsolatedStorage.IsolatedStorageException "Unable to determine granted permission for assembly." Does Lazy do something weird…
Andrew Davey
  • 5,441
  • 3
  • 43
  • 57
8
votes
4 answers

Operation not permitted on IsolatedStorageFileStream. error

I have a problem with isolated storage. This is my code: List data = new List(); using (IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication()) { using (IsolatedStorageFileStream isoStream = …
yozawiratama
  • 4,209
  • 12
  • 58
  • 106
8
votes
3 answers

Rename File in IsolatedStorage

I need to rename a file in the IsolatedStorage. How can I do that?
Artur Carvalho
  • 6,901
  • 10
  • 76
  • 105
8
votes
4 answers

StorageFile Async usage in a NON Metro application

I am trying to create an instance of StorageFile in my class library... var localFolder = ApplicationData.Current.LocalFolder; StorageFile destinationFile = await localFolder.CreateFileAsync(destination,…
7
votes
1 answer

Silverlight IsolatedStorage PathTooLongException

I'm getting this exception on 50% of WinXP SP3 machines. I know about 260 characters path length limit, but what can be done? I'm already naming files to only 2 characters, without any subdirectories, but path to IsolatedStorage is already above 260…
Alex Burtsev
  • 12,418
  • 8
  • 60
  • 87
1
2 3
61 62