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
About the Author
About the Reviewers


Microsoft Silverlight offers a robust development environment for rich, cross-browser, cross-operation system businesses, and rich, interactive media experiences. Microsoft's Silverlight MCTS exam is intended for developers, who wish to create these types of applications using the knowledge they already have as .NET developers.

This book will give you the essential knowledge to master the Silverlight MCTS exam, by first introducing you to the core concepts of developing with Silverlight, and gradually moving towards more advanced Silverlight concepts and techniques.

The book uses an example-driven approach that is easy to understand, and helps you master the material covered, by actually doing, and not only reading.

Each chapter contains sample practice questions at the end, based on actual exam questions, so you can test your knowledge, and get a feel for the actual exam, before taking it.

What this book covers

Chapter 1, Overview of Silverlight, is an introductory chapter to Silverlight that covers core concepts of the framework.

Chapter 2, Laying out Our User Interface, gives you an introduction to building user interfaces in Silverlight. The chapter covers core concepts, such as panels, navigation framework, and playing media files.

Chapter 3, Enhancing the User Interface, builds upon the foundations learned in the previous chapter, and arms you with advanced techniques, such as animations and behaviors, for building a better and richer user interface.

Chapter 4, Implementing Application Logic, deals mainly with adding logic to your UI. You will learn all about concepts, such as consuming services, and building dependency properties, which will help you make your application more than just a pretty face.

Chapter 5, Working with Data, introduces you to the world of handling data in Silverlight. You will learn all about binding, formatting, validating, and conversion of data.

Chapter 6, Interacting with the Host Platform, guides you through how to use the host of your Silverlight application to perform tasks, such as printing, copy/pasting, and more.

Chapter 7, Structuring Applications, covers how to make your code look cleaner, and behave better.

Chapter 8, Deploying Applications, packs things up by diving deep into configuring the Silverlight plugin, and reducing its size by dynamically loading resources.

What you need for this book

For this book, you will need Visual Studio 2010. In addition, you will need the Silverlight development tools, which can be downloaded from for free, and a copy of Microsoft Expression Blend 4, which has a 60-day free trial version available at

Who this book is for

This book is for anyone who wishes to learn the essential skills needed to pass the Microsoft Silverlight MCTS exam, and use these skills to build rich interactive applications using the Silverlight platform.


In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: " We have already seen the Inline properties when we declared our Button control—Width, Height, Content, and x:Name are all Inline properties."

A block of code is set as follows:

<Button Width="100" Height="40" x:Name="btnSubmit">
<Image Source="fun.png"/>

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: " Open Visual Studio 2010, click on New Project..., select Silverlight from the Installed Templates list on the left-hand side of the window, and click on Silverlight Application."


Warnings or important notes appear in a box like this.


Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title through the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.


Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website, or added to any list of existing errata, under the Errata section of that title.


Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.


You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.