Several web application projects in a visual studio solution

I am currently starting to develop a new website using ASP.Net Webforms. To give this project a good start, I am studying the installation of a visual studio solution for an application where I want my application to consist of easily recognizable components that are equal in size (lines of code).

Since the project has not yet begun, I structured the solution in a standard three-level setup (data, business logic and presentation). This setting is good at the beginning of the project, but as the project grows, the three levels will soon become large, and navigation and code search will become more difficult, which will damage maintainability and a sense of quality.

Therefore, during the project I want to convert to a new installation, where I form functional components, each of which has its own three-level configuration. For example: the website has a shopping cart and options for creating and managing a user account. There should also be a component for the skull used for several components, which I will call common for this example. This will result in the following setup:

Shared files:

  • Project.Common.Data li>
  • Project.Common.Business
  • Project.Common.Presentations

Basket:

  • Project.Shoppingcart.Data li>
  • Project.Shoppingcart.Business
  • Project.Shoppingcart.Presentations

Account Management:

  • Project.Account.Data li>
  • Project.Account.Business
  • Project.Account.Presentations

Web site:

  • Project.Website.Data li>
  • Project.Website.Business
  • Project.Website.Presentations

, . -, (, , ). .Net -, .

, , - . , - Project.Web.Presentation -. , , , :

  • - , , , , .

  • Project.Web.Presentation . arent, , , . , - .

, . , !

+2
1

- NuGet :

Nuget

Nuget

Visual Studio

- - post build - messy.

+2

All Articles