Introduction

Silverlight 4 added many features for LOB (Line of Business) applications. While Silverlight 3 introduced the ability to run a Silverlight application without a browser host (Out-of-Browser), Silverlight 4 adds features including the ability to elevate the application's security permissions in order to gain access to local resources such as the file system, the ability to use native integration and COM automation.

In this Lab we'll build an out-of-browser application, see how to elevate permissions and learn how to manipulate COM objects to control applications such as Outlook and Excel. We'll add code to send records in a DataGrid control into Excel and even sync changes made in Excel with the DataGrid. In addition, we'll also learn how to load data from Silverlight into an Outlook email message, change the chrome of an out-of-browser application, sign a XAP to make it trusted and perform a silent installation of a XAP file.

Estimated completion time for this lab is 60 minutes.