Поделиться через


SharePoint Development Walkthroughs

The following walkthroughs demonstrate how to develop and deploy SharePoint solutions by using Visual Studio.

General

Topic

Description

Walkthrough: Add Feature Event Receivers

Describes how to add feature event receivers, which are methods that execute when a feature is installed, activated, deactivated, or removed.

Walkthrough: Create a Custom Field, Content Type, List Definition, and List Instance

Demonstrates how to create a custom field, content type, list definition from content type, and list instance.

Walkthrough: Create a Basic Site Definition Project

Demonstrates how to create a basic site definition that contains a visual Web part with controls.

Walkthrough: Creating a Site Definition with Additional Content

Describes how to create a more full-featured site definition project in Visual Studio.

Walkthrough: Localizing a Visual Studio SharePoint Application

Demonstrates how to localize an entire SharePoint solution in Visual Studio.

Walkthrough: Import a Custom Master Page and Site Page with an Image

Demonstrates how to import a SharePoint custom master page and a site page that has an image into a Visual Studio SharePoint project

Visual Studio ALM Features

Topic

Description

Walkthrough: Verify SharePoint Code by Using Unit Tests

Demonstrates how to use a unit test to verify the proper operation of a Visual Studio SharePoint project.

Walkthrough: Debug a SharePoint Application by Using IntelliTrace

Demonstrates how to use IntelliTrace to debug a Visual Studio SharePoint project.

Import Wizard

Topic

Description

Walkthrough: Import a SharePoint Designer Reusable Workflow into Visual Studio

Demonstrates how to import a reusable workflow created in SharePoint Designer 2010 into a Visual Studio SharePoint workflow project.

Walkthrough: Import Items from an Existing SharePoint Site

Demonstrates how to import items from an existing SharePoint site into a Visual Studio SharePoint project.

Web Parts

Topic

Description

Walkthrough: Creating a Web Part for SharePoint

Shows how to create a Web Part by using the Web Part item template in Visual Studio 2010.

Walkthrough: Creating a Web Part for SharePoint by Using a Designer

Shows how to create a Web Part visually by using the SharePoint Visual Web Part project template in Visual Studio 2010.

Workflows

Topic

Description

Walkthrough: Creating and Debugging a SharePoint Workflow Solution

Demonstrates how to create a basic sequential workflow template.

Walkthrough: Creating a Workflow with Association and Initiation Forms

Shows how to create a basic sequential workflow that uses association and initiation forms.

Walkthrough: Add an Application Page to a Workflow

Demonstrates how to add an application page that displays data derived from a workflow to a workflow project.

Walkthrough: Create a Custom Site Workflow Activity

Demonstrates how to create a custom activity for a site-level workflow.

Walkthrough: Import a SharePoint Designer Reusable Workflow into Visual Studio

Shows how to migrate a reusable workflow from SharePoint Designer 2010 into Visual Studio 2010.

Application Pages

Topic

Description

Walkthrough: Add an Application Page to a Workflow

Demonstrates how to add an application page that displays data derived from a workflow to a workflow project.

Walkthrough: Creating an Application Page

Shows how to create an application page and then debug that page by using a local SharePoint site.

Business Data Connectivity

Topic

Description

Walkthrough: Creating an External List in SharePoint by Using Business Data

Shows how to create a model for the BDC service that returns information about contacts in a sample database.

Packaging and Deployment

Topic

Description

Walkthrough: Deploying a Project Task List Definition

Shows how to use Visual Studio 2010 to create, customize, debug, and deploy a SharePoint list definition to track project tasks.

Extending the SharePoint Project System

Topic

Description

Walkthrough: Extending a SharePoint Project Item Type

Demonstrates how to extend the built-in Business Data Connectivity Model project item type.

Walkthrough: Creating a SharePoint Project Extension

Demonstrates how to add a custom property to all SharePoint projects. Developers can use the property to add or remove a mapped folder.

Walkthrough: Creating a Custom Action Project Item with an Item Template, Part 1

Demonstrates how to define a SharePoint project item type for creating a custom action in SharePoint, and associating an item template with the new project item type.

Walkthrough: Creating a Custom Action Project Item with an Item Template, Part 2

Demonstrates how to create a wizard for a custom SharePoint project item type that is associated with an item template.

Walkthrough: Creating a Site Column Project Item with a Project Template, Part 1

Demonstrates how to define a SharePoint project item type for creating a site column in SharePoint, and associating a project template with the new project item type.

Walkthrough: Creating a Site Column Project Item with a Project Template, Part 2

Demonstrates how to create a wizard for a custom SharePoint project item type that is associated with a project template.

Walkthrough: Creating a Custom Deployment Step for SharePoint Projects

Demonstrates how to define a custom deployment step that can be used to upgrade SharePoint solutions.

Extending the SharePoint Connections Node in Server Explorer

Topic

Description

Walkthrough: Extending Server Explorer to Display Web Parts

Demonstrates how to add new nodes for displaying Web Parts in SharePoint sites that are displayed in Server Explorer. This walkthrough also demonstrates how to create a SharePoint command to call into the SharePoint server object model.

Walkthrough: Calling into the SharePoint Client Object Model in a Server Explorer Extension

Demonstrates how to add new nodes for displaying Web Parts in SharePoint sites that are displayed in Server Explorer. This walkthrough also demonstrates how to use the SharePoint client object model.

See Also

Concepts

SharePoint Development Samples and Walkthroughs