SharePoint 2010 - Visual Studio 프로젝트 구조
-
10-12-2019 - |
문제
SharePoint 프로젝트의 프로젝트 구조는 무엇입니까?예를 들어 간단한 구조는 다음과 같습니다. myportal 라는 프로젝트 생각
myportal.sln
- MyPortal.Branding (사용자 정의 마스터 페이지, 페이지 레이아웃, _kayouts 아래에있는 CSS-JS 이미지)
- 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.