O'Reilly logo

Microsoft SharePoint 2010 Development Cookbook by Ed Musters

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 and deploying Web Parts with Visual Studio 2010

The goal of this recipe is to build an understanding of how Web Parts are created using Visual Studio 2010, and exactly how they are deployed into SharePoint.

Getting ready

Carry out the following steps in order to create the Visual Studio project that we will be working with in this recipe:

  1. Open Visual Studio 2010. From the File menu, select New | Project.
  2. From Installed Templates, navigate to the SharePoint 2010 section and select Empty SharePoint Project. In my case, I have named my project SP2010WebPart.
  3. On the SharePoint Customization Wizard screen, type in the Chapter 3 URL in the What local site do you want to use for debugging? textbox. Ensure that you select the Deploy as a FARM solution ...

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