Structuring projects
How should you structure your projects? So far, we have mostly built small individual console apps to illustrate language or library features, with the occasional class library and unit test project to support them. In the rest of this book, we will build multiple projects using different technologies that work together to provide a single solution.
With large, complex solutions, it can be difficult to navigate through all the code. So the primary reason to structure your projects is to make it easier to find components. It is good to have an overall name for your solution that reflects the application or solution.
I have written an online article covering more about structuring projects and where the service, repository, and DTO types should be placed. You can read it at the following link: https://github.com/markjprice/cs14net10/blob/main/docs/ch12-structuring-projects.md.
We will build multiple projects for a fictional company named...