In my previous ASP developments, I used to separate my solution in multiple projects, each one having a specific roles:
- mySolution.Web with the views, controllers, JS, CSS
- mySolution.Data.DAL to define the detabase mapping and repositories
- mySolution.Data.Domain to define the entities and domains
- mySolution.Data.Services for services such as email...
- Tests...
- ....
What would be your suggestion considering the new ASP.Net 5 tree view:
From:
src
Web
Controllers
Migrations ???
Models
Services
ViewModels
Views
to
src
Web
Controllers
Migrations ???
ViewModels
Views
Data.DAL
Mapping
Repositories
Data.Domain
Entities
Models
Services
Services
Does it make sense? Is it still in the spirit of this new ASP.Net 5 or we should better stick with one dedicated project?
Concerning the other projects (not .Web), I have used Class library package instead of class library dll, is it more relevant for ASP.net 5 projects or the only benefit is to create a Nuget package instead of a .dll file?
Thanks
Sylvain