Reputation:
I am currently working on a project in Visual Studio 2010.
Right now, my solution explorer looks like:
In other projects, I've seen different components of the program split up into different class libraries, so one would have for example: Project, Project.Data, Project.Business, etc
and the data would include the database context and repositories, and the business would contain the logic, etc.
How should I organize my project/solution? Is there a "best practice" I should follow?
Upvotes: 0
Views: 457
Reputation: 11041
Right now you have everything in one project. I would create two new projects in this solution:
CMv2.Data
CMv2.Services
And move those folders from your current project to the new projects. I would rename CMv2
to something like CMv2.Web
Upvotes: 1