1

How I can consolidate multiple projects by keeping the same namespace and move them into Domain Driven Design project? We are not a software shop and our code is not an API with no intention of being extended. Plus we have like 150 projects in our solution code base makes comprehension hard for developers and IDE performance really slow. we have implementation projects, and then "domain projects" w/ Interfaces, POCO models and enums and in most cases we only have one implementation projects.

  • 150 projects for modern Visual Studio shouldn't be a problem – Fabio Aug 2 at 21:21
  • If you have 150 projects in solution and this is slow and hard to understand, you really have an architectural problem. I am for example working on a solution with 1.2k projects and we have no slowdown or maintainability issues. – phduarte Aug 3 at 0:50
1

Start by creating a folder within the solution by separating projects by features or departments and one folder for cross-cutting or shared projects as you prefer.

After that, within each folder you created for each feature you can add other subfolders to Data Access, Domain Model, Application and UI.

This already will be a good start to application of DDD.

Probably after that you should start discover best opportunities to increase the quality of your code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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