isolatedstorage

Silverlight: Log4Net to Isolated Storage

First, i know about clog and i do not want to implement this piece. the reason? we can't maintain severeal logging 'frameworks'. So to my question: Has somebody successfully implemented log4net in a silverlight application? what i want to achieve is logging to the isolated storage. i know, there's only 1mb of storage available but thi...

.NET isolated storage file locking throws NRE

So I am trying to lock an isolated storage file in my C# client application, so that multiple copies of my application are not able to access it at the same time. I am using the following syntax: lockStream = new IsolatedStorageFileStream("my.lck", FileMode.OpenOrCreate, isoStore); lockStream.Lock(0, 0); This code causes my applicatio...

Silverlight 4.0 IsolatedStorageFile

How to view all the content in my IsolatedStorageFile by setting a new page in your browser? Thank you ...

Silverlight 4.0: How to increase quota in Isolated File Storage

Got this line of code here but its not working. private void Button_Click(object sender, RoutedEventArgs e) { using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication()) { long newSpace = isf.Quota + 1523456786435; try { if (true == isf.Increa...

Silverlight 4.0: IsolatedStorage URI

Is there a way to get the URI of you IsolatedStore? ...

Isolated Storage, OOB, and Removing the App

What happens to the files created by Isolated Storage when the OOB app is removed? Do they remain or are the files also deleted? From what I can deduct the files would be maintained so they can be accessed by the same app in browser. Right? ...

Validating Application Settings Key Values in Isolated Storage for Windows Phone Applications

Hello everyone. I am very new at all this c# Windows Phone programming, so this is most probably a dumb question, but I need to know anywho... IsolatedStorageSettings appSettings = IsolatedStorageSettings.ApplicationSettings; if (!appSettings.Contains("isFirstRun")) { firstrunChe...

Is the usage of Isolated Storage in Silverlight 3 a security concern

I am using Silverlight 3 on my website. I have a Login Page for role based authentication, that routes users with different privileges to different parts of the website. I want to use something analogous to the Session Variables available in standard ASP.Net applications. I intend to use Isolated Storage to achieve this. But I am skepti...

Silverlight doesn't prompt to increase quota

I am trying out Silverlight's Isolated Storage feature. Currently running Silverlight thru ASP.NET page. I have written some code to request an additional storage but I am not being prompted to add more. private void requestButton_Click(object sender, RoutedEventArgs e) { using (IsolatedStorageFile store = IsolatedStorageF...

Programming an IE-Toolbar: Where to save user-related files (IsolatedStorage does not work!)?

Hi, I am programming an IE-Toolbar. Now I have the problem that I want to save some user specific and application specific data First I have tried to use IsolatedStorage but I am only getting a ComException. Which is the recommended way to save some files when programming IE-Toolbars? Thanks in advance for your advice! Best regar...

Is there a better way than this to find out if an IsolatedStorage file exists or not?

I'm using IsolatedStorage in a Silverlight application for caching, so I need to know if the file exists or not which I do with the following method. I couldn't find a FileExists method for IsolatedStorage so I'm just catching the exception, but it seems to be a quite general exception, I'm concerned it will catch more than if the file ...

Can two Silverlight applications share IsolatedStorage on one machine?

What identifies an silverlight application and when can two silverlight applications share IsolatedStorage if at all, i.e.: if I want to have two Silverlight applications share IsolatedStorage space, is this possible? What kind of "application id" do I need to give to do this? if I don't want two Silverlight applications to share Isola...

Why does this silverlight code get a "catastrophic failure" when reading a BitmapImage out of IsolatedStorage?

In a Silverlight app, I save a Bitmap like this: public static void SaveBitmapImageToIsolatedStorageFile(OpenReadCompletedEventArgs e, string fileName) { using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication()) { using (IsolatedStorageFileStream isfs = new IsolatedStorageFileStream(fileName, Fil...

Is there anyway to reduce IsolatedStorage capacity in Silverlight?

With this code I can have Silverlight ask the user if he wants to increase IsolatedStorage: private void Button_IncreaseIsolatedStorage_Click(object sender, RoutedEventArgs e) { IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication(); long newStorageCapacityInBytes = FileHelpers.GetMaxiumumSpace() + SystemHe...

Is there a way to store and access a SQL CE (.sdf) database in isolated storage?

I have a .Net application which must store all it's local data in isolated storage. I want to start using SQL CE to store this data. I can't find any documentation on how (or even if) this is possible. Is it possible to use isolated storage to store a SQL CE database? If so, what would the connection string look like (or is there som...

Isolated storage location for windows phone 7?

Hi, I'm building a windows phone 7 application using silverlight 4. I store my data in Isolated storage as outlined here. The program runs with no errors. My question is where I can see the file I have saved? Is it possible to find the file in the windows phone 7 emulator? Thanks in advance. ...

WPF: isolated storage file path too long

Hi, I'm deploying my WPF app with ClickOnce. When developing locally in Visual Studio, I store files in the isolated storage by calling IsolatedStorageFile.GetUserStoreForDomain(). This works just fine and the generated path is C:\Users\Frederik\AppData\Local\IsolatedStorage\phqduaro.crw\hux3pljr.cnx\StrongName.kkulk3wafjkvclxpwvxm...

Browser Client Side Storage aka a large Cookie

Hi, I need to store about 20-30k or data on the client side when using a website. I was using a cookie, but this is to small for my needs. Is there something else that I can use? I need to be able to do this via javascript. Server side storage is a last resort but not what I am looking for. I need it to work for Chrome, IE and fire...

Best free online storage service api

I want to make my Web site users be able to upload small or large files and post to share with other users, the files must be publically available online. I want to use a free online storage service for the job, which one should I use? I dont mind if there are ads. ...

How to handle not-enough-isolatedstorage issue deep in data loader?

I have a silverlight application which loads data from many external data sources into IsolatedStorage, and while loading any of these sources if it does not have enough IsolatedStorage, it ends up in a catch statement. At that point in that catch statement I would like to ask the user to click a button to approve silverlight to increase...