Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Isolated storage is a mechanism that provides data isolation, safety and storage by associating code with persistent data. Isolated storage is designed to prevent data corruption and access to application-specific data, while providing a standard data storage and retrieval system that's inaccessible to users, folders or applications.
Isolated storage serves as a virtual file system managed by the .NET Common Language Runtime (CLR). Because it is a file system component, stream and serialization methods may be used to read and write data. The default and modifiable size is one megabyte.
Isolated storage contexts include:
Before issuing .NET, isolated storage addresses update application configuration data using .ini file registry or configuration files. A database is a good alternate option to isolated storage when there is large user data volume. Isolated storage is a good option when complex data cannot be stored in database rows and when database overhead is a concern.
The isolated storage concept is based on elements known as data compartments and stores. A data compartment, which is a virtual folder with a location transparent to the developer, consists of one or more isolated storage files known as stores. These stores maintain the actual stored data directory location, and they usually reside on the client. When data must be accessed through a roaming user profile, isolated information is stored on the server. The actual file system folder, where the isolated files are stored, is based on the operating. System administrator tools are available for configuring file storage space, enforcing the security policyand cleaning unused data memory.