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. The application is hosted on www.myCompany.com. On the same domain, there is a WCF service running on www.myCompany.com/service. Your Silverlight application accesses the service just fine. A vendor has developed a Silverlight application that uses the service as well. Even though you have deployed a clientaccesspolicy.xml file, the vendor receives a SecurityException while calling the service from his Silverlight application. Which of the following lines from the XML can cause this error?

    a.<domain uri="8"/>

    b.<resource path="/" include-subpaths="true"/>

    c.<resource path="/" include-subpaths="false"/>

    d.<resource path="/service" include-subpaths="false"/>

  2. 2. You are developing a Silverlight application. You are passing an initialization parameter called initKey using the Silverlight's object tag initparam parameter. How would you retrieve it back in your Silverlight application?

    a. Inside the...