Book Image

MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide

By : Johnny Tordgeman
Book Image

MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide

By: Johnny Tordgeman

Overview of this book

Microsoft Silverlight is a powerful development platform for creating engaging, interactive applications for many screens across the Web, desktop, and mobile devices. Silverlight is also a great (and growing) Line-Of-Business platform and is increasingly being used to build data-driven business applications. Silverlight is based on familiar .NET languages such as C# which enables existing .NET developers to get started developing rich internet applications almost immediately. "MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide" will show you how to prepare for and pass the (70-506): TS: Microsoft Silverlight 4 Development exam.Packed with practical examples and Q&As, MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide starts by showing you how to lay out a user interface, enhance the user interface, implement application logic, work with data and interact with a host platform amongst others.
Table of Contents (15 chapters)
MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Accessing the isolated storage


The isolated storage is a storage mechanism of Silverlight. Just like the HTML cookies, the isolated storage allows developers to store the data while their application is running, and restore it later when needed. The isolated storage is both user-specific and application-specific, meaning that for a single application, each user will have its own isolated storage, even if two users are running the application on the same computer. Isolated storage is also persistent, which means that even if you clean your browser's cache and temporary files, the data in the isolated storage will stay intact.

The default size of the isolated storage is 1 MB per application. If needed, the size can be increased through a dialog to the user, asking his permission to increase the size. We will discuss how to increase the size of the isolated storage soon.

To demonstrate the use of isolated storage, we will build a simple application that stores and retrieves notes written by...