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

Summary


In this chapter, we finally got to touch code. While XAML is powerful and fun to work with, sometimes you need to get your hands dirty and write code to get the result you aim for. We started this chapter with learning about events, how to handle them, the different types of event Silverlight offers, and the concept of AddHandler.

We then moved on to consuming web services, a key concept in the data driven world of today. We learned how to create service references for the different environments we might work with; we handled asynchronous events, configured service endpoints, and learned how to handle timeouts. We finished the chapter with learning about cross-domain network access and how to build a clientaccesspolicy.xml file.

Our next subject was background threads where we built an application that spawned its heavy duty calculation to a background thread, leaving the UI layer free for the user to interact with. Once it was done, we moved on to talk about dependency properties...