您的SharePoint项目的项目结构是什么。例如,我的简单结构是:想想一个名为MyPortal的项目

myportal.sln

- myportal.branding(自定义主页,页面布局,在_kayouts下的css-js-modes)

- myportal.definitions(内容类型,事件接收器,列表定义/实例)

- MyPortal.WebParts(WebParts,用户控件,自定义应用程序页面)

有帮助吗?

解决方案

MyPortal.Controls (controls and objects)
MyPortal.Commands (logic and analytics)
MyPortal.Properties (styling)

This can be followed for just about any SharePoint project.

其他提示

Structure for any type of SharePoint Project has differences:

1-in Microsoft you can find many templates for programming:

any type has it's own template: download them

for example for web parts:

Elements.xml

Contains information that is used by the Feature definition file in your project to deploy the Web Part.

.webpart file

Provides information that SharePoint needs to display your Web Part in a Web Part gallery.

Code File

Contains methods that add controls to the Web Part and generate custom content within the Web Part.

you can download from here:

Visual Basic and C# SharePoint Templates

These templates appear under the Visual Basic/SharePoint or Visual C#/SharePoint subcategories, and may be further sorted into 2007 and 2010.

2- in CodePlex :

This project extends the Visual Studio 2010 SharePoint Project system with advanced templates and tools.

3- SPSF

The SharePoint Software Factory is a Visual Studio Extension helping SharePoint newbies, as well as experienced developers to create, manage and deploy SharePoint solutions without having to know every tiny XML and C# secret.

4- cksdev

This project extends the Visual Studio 2010 SharePoint project system with advanced templates and tools.

许可以下: CC-BY-SA归因
scroll top