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

Chapter 8. Deploying Applications

So we have built an application using all of the goodies Silverlight offers. Now it's time to deploy our application for users! In this last chapter of the book, we are going to cover everything related to deployment. We will start the chapter with discussing how to configure the Silverlight plugin's object tag. Once done, we will move on to discussing how we can make our application's download size smaller by splitting it up to several files. We will finish things off with discussing the use of a policy file.

In this chapter we will cover the following topics:

  • Configuring the Silverlight plugin

  • Dynamically loading application resources

  • Creating client access policy

Configuring the Silverlight plugin

When we create a new Silverlight solution in Visual Studio 2010, we are given the option to also create an ASP.NET site that will host it. If you inspect the .aspx file in that site, you'll notice that your Silverlight application is hosted in an HTML object element...