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

Implementing localization and globalization


When building an application, we usually strive to reach as big an audience as possible. Localizing our application to different languages can surely help us boost our audience. Just like most .NET-based applications, localization in Silverlight is done through the use of resource files. Resource files are files based on key-value pairs where each pair represents a string, an image, or other types of resources such as audio and icons. We will discuss how to use resource files in just a moment. New to Silverlight 4 is the native support of right-to-left languages such as Arabic or Hebrew, which makes it far easier to localize an application to these languages. Other than strings, resource files can also hold dates or images.

Working with resource files

To get started, open the Chapter7-RESX project in Visual Studio 2010. The project can be found in the downloadable content of the book, which is available at www.packtpub.com.

The project's UI is...