▲ | grugagag 3 days ago | |
In ASP.NET MVC is a modified version of classical MVC adapted for the web. The Controller in ASP.NET MVC takes on the role of both the classic Controller and part of the classic Model's role (orchestrating the retrieval/updating of data). The connection between the View and the Model is completely severed and mediated by the Controller. | ||
▲ | to11mtm 2 days ago | parent [-] | |
Well I put it the way I did because I've also seen it done wrong (i.e. razor views pulling stuff from DB more directly because razor) |