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

Consuming services asynchronously


Services (and most notably web services) are a main ingredient in today's LOB applications. Nowadays, you'll have a hard time finding an application that doesn't require access to data. While Silverlight doesn't offer a native client-side database solution (though you can find some great third-party solutions for that, such as Sterling DB), web services are your main route to access data.

Microsoft made sure that Silverlight is well equipped for the task of accessing data. Silverlight is able to consume services of ASMX, WCF, REST, POX, RSS, and others. Just like any other .NET language, Visual Studio will automatically generate a proxy class in our project when working with an ASMX or WCF service. This proxy class is in charge of making the actual connection to the service, and send and receive data to and from it. The one big difference between Silverlight and other .NET languages is that all communication in Silverlight happens asynchronously. This is...