
390
❘
CHAPTER 14 SILVERLIGHT AND SHAREPOINT INTEGRATION
FIGURE 145
You will see Silverlight used in a number of other places as well (some are where you might not even
realize). Even some of the new Offi ce web applications use Silverlight to enhance the rendering and
display of the Offi ce documents.
All this integration is great for both SharePoint and Silverlight developers. You can assume that the
integration of Silverlight in SharePoint will only increase in the future. Now that you know a little
about Silverlight and where it is used in SharePoint, let’s spend the rest of this chapter showing how
to build your own Silverlight solutions in SharePoint.
Silverlight Web Part
SharePoint ships with a Silverlight Web Part, making it very easy for developers and power users to
add Silverlight applications to SharePoint. You need to solve two basic problems when developing
Silverlight applications for SharePoint: how to get the Silverlight application into SharePoint, and
how to host the Silverlight application.
The fi rst problem to solve is how do you get the Silverlight application into SharePoint. You can
do so in a number of ways, as discussed in more detail in the next section. The easiest way is just
to copy the Silverlight application to a SharePoint library. A simple Silverlight application consists
of a single Zip fi le with the extension
.xap. You can build these Silverlig