In this recipe we will create a Silverlight application that retrieves data from the contacts list that we used in Chapter 1.
The previous recipes should be completed successfully so that you understand the concept of a web part and its deployment. Apart from that, create a new document library on your site using SharePoint UI and name it
If you have closed Visual Studio IDE, launch it as an administrator.
Create a new empty SharePoint project called SilverlightOM. Take defaults on the next steps of the wizard.
To this solution add a new Silverlight application project and name it ContactsListSilverlight.
Now to your empty SharePoint project, add a new module and name it XAPFiles.
Sample.txtfile it adds to the module. The
Elements.xmlfile will be automatically updated by VS 2010.
In the Properties window for this module, click on the ellipsis (…) for Project Output References as shown in the following screenshot...