Chapter 5. Storing data
This chapter covers
Most applications require some form of data storage—from user preferences and user-created data to local caches of data stored in a cloud application or web service. The data storage concepts discussed in this chapter will be familiar to .NET Framework developers, as they’re limited versions of the same storage technologies that have existed in the .NET Framework for many years. In this chapter you’ll learn about the differences between the storage APIs in the .NET Framework and the storage APIs provided in the Window Phone SDK. For starters, the Windows Phone security model limits storage available to third-party applications to the isolated storage sandbox.
Each application is allotted its own sandbox on the phone, isolated from all other applications and from the operating system. The application’s sandbox is separated into two folders, as shown in figure 5.1. The first folder, often referred to as appdata, contains the installed application files. The second folder, called Isolated-Storage or isostore, stores files created or downloaded by the application.