Sharepoint development - several web pages in one solution or a project for each?

I am working on a Sharepoint 2010 project that has quite a few visual websites.

Currently, I have all the web parts in one solution. My colleague is working on the same project, but is creating a project for each web part within the solution.

What is the best practice here? What are the advantages / disadvantages of each approach?

thank.

+3
source share
4 answers

I tested both approaches when I started developing Sharepoint solutions, and I concluded the following pros / cons:

The benefits of having a separate project for each web part:

  • ; - - , .
  • - - , checkin/checkout .
  • , - , -.
  • - , , - (resx/images), , , , - , - , .

, , Webpart .

+6

, (.. ).

+2

. wsp, , - , . .

+1

If this is a large project, a separate project for each web part may be redundant. If there is a good reason (for example, deployment), everything should be in one project.

0
source

Source: https://habr.com/ru/post/1778144/


All Articles