Persistent storage is one of the most important areas that every application developer needs to know. Even though the architecture of the Windows Phone environment is in general built to have connected applications, many times there could be a case where there is a need to store data in persistent storage areas so that it can be fetched later for use. Windows Phone persistent storage exists in the form of the IsolatedStorage
classes, where the application can store data on a Sandboxed environment where the other application does not have access to. Windows Phone provides a separate filesystem structure for each application, where the application can store and retrieve files and data from.
To store data in persistent storage, we use the following code:
public async void SaveToStore(string fileName, string data) { IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication(); using (StreamWriter...