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
About the Author
About the Reviewers

Dynamically loading application resources

When your application is small (in size), everyone is happy. The load on the servers is minimal, the load times for the user fly by instantly, and the user starts to use your application within seconds. As your application gets more complex and more assemblies are used, the size of the application will grow. But what if our application is divided into different projects and each project contains a Grid control? Will that mean that each and every time we hit a page, the DLL containing the grid will be loaded to the user? By default, yes.

In order to tackle this issue, we have two options—use assembly caching or create ZIP files ourselves containing assemblies, images, resources and so on.

Using assembly caching

Using assembly caching is straightforward, and we have already discussed it in Chapter 1, Overview of Silverlight. To recap, all you have to do is right-click on the Silverlight project in Visual Studio 2010, choose Properties, and check the...