Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

What are your project structures for sharepoint projects. For example my simple structure is: Think of a project named MyPortal

MyPortal.sln

--MyPortal.Branding (Custom master pages, page layouts, css-js-images that go under _kayouts)

--MyPortal.Definitions (Content types, event receivers, list definitions/instances)

--MyPortal.WebParts (webparts, user controls, custom application pages)

share|improve this question
2  
I will allow this Q even though it is really too broad and has many answers. Have made it CW though, as should answers be –  Anders Rask Dec 7 '12 at 22:13
add comment

2 Answers 2

up vote 3 down vote accepted

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

This can be followed for just about any SharePoint project.

share|improve this answer
    
The important thing to remember is that you should maintain consistency and clarity when designing your project structure. You should also watch out of long solution/project/file names. I have seen people use the project namespace as the project name, later causing long path issues. I personally try to keep the file names short but descriptive enough. –  Hossein Aarabi Dec 28 '12 at 19:46
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.