Re:A todo list for new ASP.NET Core projects
by Lord_Zero on Thursday February 08, 2018 @11:45AM
(#16333435)
hudo's example is really good.
Something else to consider is that maybe your MVC project is not your ONLY consumer of your application services. Now it makes a lot more sense to decouple things and maintain that extra layer.
Also the ViewModel is tightly bound to the view, if you want to change the view in clever ways that should not change the domain models.
Something else to consider is that maybe your MVC project is not your ONLY consumer of your application services. Now it makes a lot more sense to decouple things and maintain that extra layer.
Also the ViewModel is tightly bound to the view, if you want to change the view in clever ways that should not change the domain models.