1 / 16

Isolated Storage

Isolated Storage. NE Visual Basic Pro July 1, 2004. Andrew Novick. Novick Software. The consulting company of Andrew Novick Business Applications Design – Programming - Project Management Coaching - Training SQL Server, VB, C#, VB.Net, ASP.Net, XML

trent
Télécharger la présentation

Isolated Storage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Isolated Storage NE Visual Basic Pro July 1, 2004 Andrew Novick

  2. Novick Software • The consulting company of Andrew Novick • Business Applications • Design – Programming - Project ManagementCoaching - Training • SQL Server, VB, C#, VB.Net, ASP.Net, XML • http://www.NovickSoftware.comHome of the Transact-SQL User-Defined Function of the Week Isolated Storage Andrew Novick

  3. www.NovickSoftware.com Isolated Storage Andrew Novick

  4. In the beginning there was…. The INI file Isolated Storage Andrew Novick

  5. On the second day there was… The REGISTRY Oy Vey Isolated Storage Andrew Novick

  6. And the evening and the morning of the next day brought forth .Net and… The XML Config file Isolated Storage Andrew Novick

  7. And by the way.....there was also Isolated Storage Isolated Storage Andrew Novick

  8. Isolated Storage is: • A special location on the local hard disk that is available only to your application. Isolated Storage Andrew Novick

  9. Characteristics of Isolated Storage • Does not require Full Trust for I/O • Available on a Per User/Per Program basis • Limited to 10Mb per file • .Net Framework decides where it is stored. Isolated Storage Andrew Novick

  10. Valid Stores • User | Assembly • User | Assembly | Domain • Roaming | User | Assembly • Roaming | User | Assembly | Domain Isolated Storage Andrew Novick

  11. Use of Different Stores • User | Assembly | Domain Storage Specific to a User/Program • User | Assembly Storage shared by programs that use an assembly on behalf of a user. Isolated Storage Andrew Novick

  12. .Net Framework support is in: • System.IO.IsolatedStorage name space • Dim myIS as IsolatedStorageFile =IsolatedStorageFile.GetUserStoreForDomain Isolated Storage Andrew Novick

  13. storeadm.exe: Utility to work with IS • Find it in ….Visual Studio 2003\sdk\v1.1\bin... • /LIST – Display existing IS for this user. • /REMOVE – Remove IS for current user. • /ROAMING – Select the roaming store • /QUIET- Only output error messages Isolated Storage Andrew Novick

  14. Isolated Storage is Good For • Individual preferences, configuration values • Data Caches – as long as they’re under the size limitations • Temporary storage of queued info waiting for a connection. Isolated Storage Andrew Novick

  15. Isolated Storage is NOT Good for: • Documents • Downloaded Assemblies • Secrets Isolated Storage Andrew Novick

  16. Thanks for Coming • Please send feedback to: anovick@novicksoftware.com www.NovickSoftware.com Isolated Storage Andrew Novick

More Related