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

Test your knowledge


  1. 1. You are developing a Silverlight 4 application that uses commands. When a user clicks a button on the page you need to pass it the selected value of a ComboBox control named cbShapes. What should your button look like?

    a.<Button Content="Get Shape" Command="{Binding GetShapeCommand}" CommandParameter="{Binding SelectedItem, ElementName=cbShapes}"/>

    b.<Button Content="Get Shape" Command="{Binding GetShapeCommand}" CommandParameter="{Binding SelectedValue, ElementName=cbShapes}"/>

    c.<Button Content="Get Shape" Click="{Binding GetShapeCommand}" ClickParameter="{Binding SelectedItem, ElementName=cbShapes}"/>

    d.<Button Content="Get Shape" Command="{Binding GetShapeCommand}"/>

  2. 2. You are writing a Silverlight 4 application that connects to a Windows Communication Foundation (WCF) service. The WCF service is hosted on a domain different from the one running your application. When you run your application, you receive the following error: Page not found...