Thursday, June 11, 2009

Chapter 2-Lesson 4

  • In .NET 2.0, there are new types of applications that are meant to be deployed and installed from Web pages called “Click-Once applications” or, sometimes, “Smart-client applications.” These new types of applications are meant to solve deployment of applications across a company or enterprise.
  • Isolated Storage means the application will be able to hold data temoporarily in a system provided secure area.
  • We may create both Application-level data store and User-level data store.
  • IsolatedStorageFile class (and its static methods) is used for this purpose.
  • IsolatedStorageFileStream is derived from FileStream class.
  • Get the appropriate data store for Application/User. Create an IsolatedStorageFileStream object specifying the usual filename, FileMode and the store in which to create the file. Once this is done, its all the same as using a FileStream with StreamReader/StreamWriter.

No comments:

Post a Comment