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.
Carry out the following steps in order to create the Visual Studio project that we will be working with in this recipe:
- Open Visual Studio 2010. From the File menu, select New | Project.
- From Installed Templates, navigate to the SharePoint 2010 section and select Empty SharePoint Project. In my case, I have named my project SP2010WebPart.
- 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 ...