O'Reilly logo

Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook by Balaji Kithiganahalli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Silverlight web part

In this recipe we will create a Silverlight application that retrieves data from the contacts list that we used in Chapter 1.

Getting ready

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 XAPFiles.

How to do it...

  1. If you have closed Visual Studio IDE, launch it as an administrator.
  2. Create a new empty SharePoint project called SilverlightOM. Take defaults on the next steps of the wizard.
  3. To this solution add a new Silverlight application project and name it ContactsListSilverlight.
  4. Now to your empty SharePoint project, add a new module and name it XAPFiles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required