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

Chapter 6. Interacting with the Host Platform

Up until now we have only dealt with Silverlight itself. Now it's time to take things to a higher scope and deal with the environment of Silverlight. Not every piece of your application can be part of your Silverlight solution. Sometimes you may want to store data on the user's computer, interact with a JavaScript function, or even create an application that runs on the user's computer directly without the need for a browser. In this chapter we are going to deal with all of these things. We are going to discuss all the ways Silverlight can interact with its host platform.

In this chapter we will cover the following topics:

  • Implementing the printing API

  • Creating out-of-browser applications

  • Accessing the isolated storage

  • Interacting with the HTML DOM

  • Accessing the clipboard

  • Reading from and writing to the host filesystem

  • Handling alternative input methods

Implementing the printing API

You've just created the perfect LOB application. Everything works great...