Condividi tramite


Short Overview of SharePoint Features in Visual Studio 2010

As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

Configurable deployment

With all new SharePoint project templates you can leverage new configurable deployment feature which lets you configure the way you want to deploy or retract your project. Besides using provided, out of the box deployment steps (Run Pre-Deployment Command, Run Post-Deployment Command, Recycle IIS Application Pool, Retract Solution, Add Solution, and Activate Features) you can use SharePoint extensibility to create your own, custom deployment steps and deployment configurations.

Sandboxed and farm solutions

Some SharePoint projects can be deployed either as sandboxed or farm solutions. Sandboxed solutions run in a secure and monitored process that has limited resource access and with farm solutions user must have SharePoint administrator privileges to run or deploy the solution. You can read more about SharePoint sandboxed solution here.

Extending SharePoint Tools

Even though Visual Studio 2010 contains a set of project templates you can also extend them. You can create extensions for projects, project items, define your own project item types and create deployment extensions. You can read more about extending SharePoint tools on MSDN.

Feature and Package Designer

Feature and package designers give you the ability to customize features in your solution and with packaging designer you can customize which features are getting deployed and how. More about feature and package designer is here.

SharePoint Explorer

SharePoint Explorer is a new tool window that gives you a view into your SharePoint server. You can get a hierarchical view of lists, sites and workflows on your SharePoint server.

SharePoint Project and Project Item Templates

The following SharePoint specific project templates and project item templates are available in Visual Studio 2010:

Project Templates
  • Empty SharePoint project
  • Visual Web Part project
  • Sequential and State Machine Workflow
  • Business Data Connectivity Model
  • Event Receiver
  • List Definition
  • Content Type
  • Module Project
  • Site Definition
Project Item Templates
  • Empty Element
  • Web Part
  • User Control
  • Application Page
  • Association Form
  • Initiation Form
  • Business Data Connectivity Resource Item
  • List Instance
  • List Definition From Content Type
  • Global Resources File

Besides above mentioned project templates, there are two import project templates for importing .WSP file contents and importing reusable workflows:

  • Import Reusable Workflow
  • Import SharePoint Solution Package

How to download, install and get started

If you are a MSDN subscriber, you can download Visual Studio 2010 from here. Download will be available to everyone on October 21st.

If you want to know how to download and install Visual Studio 2010 watch Channel9 video.

To get you started, head over to MSDN and read some of the walkthroughs on SharePoint Development in Visual Studio 2010.

Peter Jausovec

Comments

  • Anonymous
    October 28, 2009
    Yes a bunch of interesting tools and opportunities for developers, but nobody mentioned the fact that their utilization is blocked till the SP 2010 Beta 2 release. I'm the only one with this problem?

  • Anonymous
    October 29, 2009
    Thanks for the comment marcello. Fortunately November is almost here and as it was announced on SharePoint conference Beta of Office 2010 and SharePoint 2010 will be released in November.