Getting Started with SharePoint 2013 development: Getting Started with WebPart

Source: Internet
Author: User
Tags visual studio

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.