Chapter 7. Creating .NET Silverlight Applications

This chapter is organized to help you understand the pieces that must be implemented to create a .NET Silverlight application, how they relate to each other, and how they are deployed. In their most basic sense, Silverlight applications are basically packages that are embedded in Web pages. The purpose of this chapter is to help you understand what pieces make up a Silverlight Web application and how they relate to each other.

If you are using Visual Studio to create and build your Silverlight applications, then most of the work in this chapter is done automatically for you. However, you need to understand these concepts to customize and deploy .NET applications.

The following sections discuss the anatomy of .NET Silverlight applications and how to deploy them in Web pages.

Understanding the Anatomy of a .NET Silverlight Application

Silverlight applications are composed of at least one application assembly that contains an entry point to begin execution. They can also include any number of optional libraries and resource files that provide additional functionality for the application. The following sections discuss each of these components and how they relate to the Silverlight application.

Application assembly package

The application assembly package is essentially a zipped-up package that contains a compiled Silverlight Application class with entry point metadata that allows the Silverlight browser plug-in to launch the application. ...

Get Silverlight™ 2 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.