Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Use of Microsoft based Technologies for the benefit of the Community Prof. Avi Mendelson – Microsoft & Technion - Taub 643.

Similar presentations


Presentation on theme: "The Use of Microsoft based Technologies for the benefit of the Community Prof. Avi Mendelson – Microsoft & Technion - Taub 643."— Presentation transcript:

1 The Use of Microsoft based Technologies for the benefit of the Community Prof. Avi Mendelson – Microsoft & Technion mendlson@cs.technion.ac.il - Taub 643 mendlson@cs.technion.ac.il Prof. Ron Friedman – CS Technion roy@cs.technion.ac.il – Taub 605 roy@cs.technion.ac.il

2 Agenda Isolated Storage Isolated Storage

3 General For each application the system defines a special secure area that only the application can access. For each application the system defines a special secure area that only the application can access. The storage is located on the flash drive and so survives reboot. The storage is located on the flash drive and so survives reboot.  Please note that on the emulator the ISOstorage is removed each time the emulator is killed. This section provides few simple examples, more explanations can be found in the “blue book” section 12, and in MSDN - http://create.msdn.com/en- US/education/basics/isolated_storage This section provides few simple examples, more explanations can be found in the “blue book” section 12, and in MSDN - http://create.msdn.com/en- US/education/basics/isolated_storage http://create.msdn.com/en- US/education/basics/isolated_storage http://create.msdn.com/en- US/education/basics/isolated_storage

4 Simple example-1

5 Example 2 – The use of Directories Directory is a generic data structure in.NET that allows you to same a value together with a key. Directory is a generic data structure in.NET that allows you to same a value together with a key. In this example we allow saving details of products and retrieve them if found. In this example we allow saving details of products and retrieve them if found.

6 Initial Note: Description field cannot contain space Note: Description field cannot contain space The product_List is declared outside so observable to all functions. The product_List is declared outside so observable to all functions. The class can be defined after its use The class can be defined after its use

7 Save operation In this example we save data for two products In this example we save data for two products The code of the saving is below The code of the saving is below

8 Load Operation


Download ppt "The Use of Microsoft based Technologies for the benefit of the Community Prof. Avi Mendelson – Microsoft & Technion - Taub 643."

Similar presentations


Ads by Google