2
votes
Accepted
Best practice for using models between layers in mvc
The combination of MVC and the tiered architecture lead naturally to such situations:
In MVC, the model manages all the domain objects and operations, including persistance and domain operations. The ...
2
votes
Best practice for using models between layers in mvc
Is having a different model/entity per layer the best practice here?
It's common, but no.
You can cleary save a lot of code if you map your datasets/readers directly to your Domain Models instead of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
asp.net-mvc-3 × 49c# × 17
asp.net-mvc × 12
asp.net × 11
mvc × 9
architecture × 5
.net × 4
web-development × 3
sql-server × 3
design × 2
javascript × 2
entity-framework × 2
wcf × 2
asp.net-mvc-4 × 2
stored-procedures × 2
rest × 1
web-applications × 1
performance × 1
sql × 1
refactoring × 1
multithreading × 1
code-quality × 1
dependency-injection × 1
gpl × 1
node.js × 1