Saturday, October 6, 2012

What's new in Visual Studio 2012 for SharePoint?

As we know Visual Studio 2012 has been released, in this article we will discuss about What's new for SharePoint in visual studio 2012. You can also check out some SharePoint 2010 and SharePoint 2013 articles.

Visual Studio 2012 comes in grey color now with a good look and feel. As usual it contains lots of templates for Windows, web, office, cloud, reporting, silverlight, wcf, windows phone, workflow & SharePoint etc in different languages like Visual Basic, Visual C#, Visual C++, Visual F# etc.

Here we will discuss about the feature for SharePoint.

Visual Studio 2012 simplifies the Project templates and Project item templates like below:

Project Templates:

It contains 5 project templates like below:

1. SharePoint 2010 Project: This project template helps us to create sharepoint 2010 projects.

2. SharePoint 2010 Silverlight Web Part: SharePoint 2010 Silverlight Web Part projects enable you to create web parts for SharePoint that display Silverlight applications.

3. SharePoint 2010 Visual Web Part: This template helps us to create visual web parts in SharePoint 2010.

4. Import SharePoint 2010 Solution Package: Import SharePoint 2010 Solution Package projects let you import all or part of an existing SharePoint 2010 site, exported to a SharePoint solution (.wsp) file, into Visual Studio.

5. Import Reusable SharePoint 2010 Workflow: Import Reusable SharePoint 2010 Workflow projects let you import a reusable, declarative workflow created in SharePoint Designer 2010 into Visual Studio.
Project Item Templates:
Apart from the above project templates Visual Studio 2012 contains the below project item templates. They are:

1- Silverlight Web Part:
Silverlight web part project items enable you to create web parts for SharePoint that display Silverlight applications.

2- Visual Web Part:
This template helps us in creating visual web parts. This contains items like Elements.xml definition file, a Web Part item, and a User Control.

3- Web Part:
This type of projects runs inside web part page and this template helps us to build a web part for SharePoint site.

4- Application Page (Farm Solution Only):
This templates works in farm solution only and this helps us to create an aspx page for SharePoint site.

5- Business Data Connectivity Model (Farm Solution Only):
This item enables you to integrate business data into SharePoint.

6- Content Type:
This item template helps us to create custom content type for SharePoint.

7- Empty Element:
This is a very helpful template and contains elements.xml file
8- Event Receiver:
This template helps us to create an event receiver for SharePoint.

9- List:
This template helps us to create a List for SharePoint.

10- Module:
This type of project item template helps us in deploying items to sharepoint server like image, css, master page etc.

11- Sequential Workflow (Farm Solution Only):
Through this type of project item template we can create Sequential workflow and this works in farm solution only.

12- Site Column:
This template helps us to create a site column for SharePoint.

13- Site Definition (Farm Solution Only):
This helps us to create custom site definition and it works only with farm solutions.

14- State Machine Workflow (Farm Solution Only):
Through this type of project item template we can create state machine workflow and this works in farm solution only.

15- User Control (Farm Solution Only):
We can add asp.net or sharepoint controls to user control and deploy to the sharepoint server.

In the above as there are written Farm Solution Only, means we can add project items to farm solution only, it will not work in sandboxed solution environments.

No comments:

Post a Comment