SharePoint Project - Type Templates
Business Data Connectivity Model
This template is used to build BCS models that allow you to connect SharePoint to your line - of - business systems, databases, or web services. VS includes a graphical designer for BCS models.
Content Type
Use this template to create a custom content type. While there is no graphical designer for content types, VS does support IntelliSense for creating the XML to define your content type.
Empty SharePoint Project
This template allows you to set up an empty project that has all the necessary elements for you to get started, such as folders for references, features, solutions, and a key to strong name your assembly.
Event Receiver
Use this template to start writing event receivers. Event receivers can be on a List, List Item, List Email, Web, or List Workflow event. VS will create the event receiver class for you, which you can customize for your application.
Import SharePoint Solution Package
This template allows you to import an existing WSP.
Import Reusable Workflow
This template allows you to import an existing reusable workflow that you created in SPD, which you can then customize and deploy from VS. Note that the import is one way, and once it is modified in VS, you cannot go back to SPD.
List Definition
You can create a list definition and list instance using this template. You can base your list on the Announcements, Calendar, Contacts, Custom List, Document Library, Links, or Tasks list types.
Module
A module type allows you to add additional fi les to your SharePoint projects. Included are an Elements.xml fi le and a sample.txt fi le that you can modify to meet your needs or you can add new fi les to the module.
Sequential Workflow
This template creates a new sequential workflow. The workflow can be a list or site workflow, and you can use the graphical workflow design tools to create your workflow in VS.
Site Definition
This template allows you to create a new site definition. Once it is created, you will see a number of fi les for this project type, including a default ASPX page; a onet.xml fi le, which defines the items in your site; a global resource fi le; local resource fi les; and a web temp file used to tell SharePoint about your site.
State Machine Workflow
This template creates a new state machine workflow. You can use the graphical workflow design tools in VS to modify your workflow.
Visual Web Part
This template creates a new Visual web part, which allows you to drag and drop controls onto your web part for your user interface rather than having to write the user interface in code. It contains a web part and a User Control item.
Application Page
Use this template to create an application page, which is just an ASP.NET page hosted in SharePoint.
Business Data Connectivity Resource Item
Use this template to create a resource fi le for your BCS model. A resource file allows you to localize the names in your model and apply permissions to objects.
Empty Element
This template creates an elements.xml file that allows you to define SharePoint artifacts using XML. The most common usage would be defining a field in your SharePoint project.
Global Resources File
Use this template to create a resource fi le, which will contain all the localized text strings for your project.
List Definition from Content Type
This template creates a list definition based on a content type in your project.
List Instance
This template creates an instance of a list by generating a new instance and an elements.xml fi le that describes the properties for the instance.
User Control
You can create a user control that you can use in an application page or web part with this template. You can design the control using the graphical designers in VS by dragging and dropping your controls onto the design surface.
Web Part
This template allows you to create a web part for your SharePoint environment.
Workflow Association Form
This template allows you to create a form that is displayed when a workflow is associated with its intended target, such as a list. The form will be an ASP.NET form, and the template creates two fi les, a Designer file and your code - behind fi le. You can use this form to collect any properties you need from the user for your workflow to create the workflow instance.
Workflow Initiation Form
This template creates a workflow initiation form, which is used when the workflow is activated. This template creates a Designer and a code - behind file for your ASPX form.