See how to get the most out of isolated storage in Silverlight to keep your applications safe.
Justin Van Patten
MSDN Magazine March 2009
View Complete Post
Here we build a syndicated news reader application to illustrate the use of isolated storage and data syndication in Silverlight.
MSDN Magazine February 2009
This article discusses the Project Linker tool and other techniques to create applications that target both WPF and Silverlight from a single code base.
Erwin van der Valk
MSDN Magazine August 2009
Andrew Dai of the CLR team discusses the Transparency model, which creates a strong isolation boundary between privileged and unprivileged code for Silverlight apps.
MSDN Magazine October 2008
The CoreCLR provides the perfect set of CLR classes and functionality for the Web.
MSDN Magazine August 2008
DLRConsole gives you an interactive environment for playing with dynamic languages in Silverlight.
MSDN Magazine February 2008
Our company is building a word add-in (document-level add-in) with visual studio 2008, word 2007 and VSTO 3.0 sp1
There is one issue that causes us a headache. It is related to obsolete objects in isolated storage.
In Word add-in we serialize object and save it to isolated storage. Later we can load that object from isolated storage and use it in our application.
The problem occurs in following scenario:
-We are working in Word add-in and save one serialized object to isolated storage
-Turn of Word add-in and change code of the class whose instance we have saved in isolated storage
-Work in word add-in again and load and deserialize object from isolated storage. This object is of obsolete class and code usually breaks here or later in code when we are trying to access changed content.
If this scenario happens, we will clear obsolete object from isolated storage. Issue is how to recognize that object’s class is changed?
We tried to recognize changes in the following ways:
I was wondering what's the difference between these two ways to store user-specific settings.
In isolated storage you're supposed to have the security that the path to the files is unknown. But MSDN still recommends not to store sensitive information. On the other hand, user-specific settings, maybe with default values in the app.config file, are
also stored in a randomly generated folder. In this case I imagine that you can encrypt the user settings the same way you do with the app.config file.
My question is, what are the advantages of using one method over the other to store user-specific settings?
Silverlight 4 brings a number of important changes including new GC modes, improved startup performance, and new base class features that enable new offline scenarios. We'll walk you through the details.
Justin Van Patten, Andrew Pardoe
MSDN Magazine October 2010
How do I display ALL of my saved items of different list from the isolated storage?
Eg. I created a list named "Breakfast" with 2 Bandung and 3 Water inside.
Created another list named "Lunch" with 5 Bandung and 2 Hot-tea inside.
When I click to view "Lunch" list, it will display out the list with "5 Bandung and 2 Hot-tea".
However, I can only manage to display "Hot-tea" without the quantity, and unable to display 5 Bandung as well.
How do I go about displaying all of the items inside the selected list?
// SAVE DIFFERENT (MULTIPLE) LISTS OF DRINK ITEMS
private void addListBtn_Click(object sender, RoutedEventArgs e)
using (IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication())
StreamWriter writeFile = new StreamWriter(new IsolatedStorageFileStream("ListFolder\\savedList.txt", FileMode.OpenOrCreate, storage));
for (int i = 0; i < (Application.Current as App).userDrinksList.Count; i++)
String drink = (Application.Current as App).userDrinksList[i].ToString();
XDocument _doc = new XDocument();