visual studio enterprise web application having more than 30 projects using on big solution or multiple smaller solutions

haitham

We are building a very large enterprise web application using Visual Studio 2013 ASP.net MVC 5.

We are using TFS 2013.

We create one team project in the TFS.

Now in visual studio, we need best practice or guidelines to structure our application that contains about 14 modules.

1) create one really large solution containing all projects for all modules of the application. 2) create many smaller solutions with fewer projects in each.

Thank you.

Matías Fidemraizer

Your choice will depend on one factor:

A. Does the team(s) involved in the project need to maintain every project of your solution?

One solution to rule them all, because otherwise your team mates would need to recompile parts of your entire project in different Visual Studio instances, and this can decrease productivity of your team, and it can lead to errors since more than a team mate will miss to recompile something and he/she'll get into big troubles until someone would tell him/her: just recompile X solution to get this working (or it can take to a documentation nightmare...).

B. Does each part of the project gets developed by many specialized teams?

Many solutions for the same main solution. Imagine that front-end team needs to consume infrastructure and domain code, and they aren't allowed to edit that last code base. Thus, front-end team would be able to edit front-end code base, and the backend team the rest of it.

Anyway, this implies that you'll need to configure TFS continous integration with TFBuild in order to drop latest and fresh backend built code in some network share, so front-end code will be able to binarily-reference these assemblies.

In other words: if there's a framework team and application team, maybe this approach makes sense. Otherwise, it'll be better to go with the first approach.


Side-note

Anyway, a solution composed by 30 projects it's not a big solution! I wouldn't pay too much attention to this, and I would go with A. approach...

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do you share code between projects/solutions in Visual Studio?

View more than one project/solution in Visual Studio

NuGet for solutions with multiple projects

Build one web project from a Solution with multiple web projects in Visual Studio Online Build Definition

Visual Studio not showing all Projects in solution

VSTS Build Definitions for Solutions with multiple web projects

Visual Studio Solution shows (0 projects)

Is a single big regex more efficient than a bunch of smaller ones?

How to Publish .Net solution containing multiple projects through Visual Studio to Azure

Web Application using GridView for CRUD form has multiple errors with GridView in Visual Studio

Visual Studio recompiles projects that are shared between two solutions for no reason

How do I specify a custom code analysis ruleset for multiple projects in a solution using Visual Studio 2019?

Compiling projects in different configurations in a multi-projects Visual Studio Solution

Creating C# and C++/CLR projects in the same solution using CMake (CMake targeting visual studio)

Handling multiple projects in Visual Studio

Wrong time calculated having more than 30min

Visual studio solution adding multiple projects

Share Resources Across Multiple Projects In 1 Solution. Visual Studio 2010

Run multiple web forms apps in same solution in visual studio

Visual Studio - How to create a solution from existing solutions/projects including webservices and a web that uses those webservices?

Visual Studio Solution with Several Projects Using Different Version Control Systems (Subversion and TFS)

Is programming in Visual Basic using Visual studio same as Visual studio enterprise?

How to build and deploy a visual studio solution with multiple projects

Application.run with more than 30 arguments

Web projects missing in Visual Studio 2015

Multiple Language Projects in Visual Studio

Not to scaffolding with Application Insights packages when creating a new Web projects in Visual Studio 2015

How to write code in multiple projects in one solution at once? [Visual Studio/Xamarin]

Is it more stressful for server to write in a big LOG file than in a smaller one?