This is the first of our introduction to SharePoint development, in which we will cover several key physical paths for SharePoint development, some development techniques, and the most basic webpart development.
Development tools
In SharePoint 2013 development, we are using Visual Studio 2012/2013, but VS2012 to install additional Microsoft Office develop Tools for Visual Studio 2012, you can use the Microsoft Web PlatForm install for installation.
Several key locations
In SharePoint development, not just WebPart, we often use several key locations, as follows:
Gac:
C:\Windows\assembly, which is the location of deployment;
ISAPI locations, SharePoint APIs:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\isapi;
ControlTemplates location, SharePoint controls/templates:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\template\controltemplates;
XML location, SharePoint descriptive file location:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\template\xml;
Layouts location, SharePoint Publishing page:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\template\layouts;
Feature location, SharePoint Feature Deployment location:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\template\features;
Images location, SharePoint picture Material Library:
C:\Program Files\Common files\microsoft Shared\Web Server Extensions\15\template\images;
Logs location, SharePoint log file:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\logs
Introduction to WebPart
WebPart, as the name implies is the meaning of Web Parts, simple understanding is a page to achieve a certain function of the part; SharePoint WebPart is the application set deployed to the GAC or bin directory. To add a strong name in Web.config (SharePoint does not recognize a WebPart that does not have an enhanced name), let's briefly describe how to create a WebPart.
WebPart creation Process
1, create the project, the project type is SharePoint2013 empty project, the following figure: