Chapter 4. Package data and roaming

Almost every app requires the ability to maintain some state on behalf of itself and the user. Typically, the Microsoft .NET Framework has offered a technology known as isolated storage to enable this. But now, Windows provides this technology built into the OS itself. When a package is registered (installed) for a user, Windows prepares storage that your package’s app can write to and read from on behalf of the user. This storage is tied to the package. When the package is unregistered (uninstalled), Windows automatically destroys this storage. The storage is shared and accessible to all apps that run as part of the package (in the same app container [as discussed in the appendix]); this includes any background ...

Get Windows Runtime via C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.