PreviousNext

Structuring Views in ASP.NET MVC to Centralize Logic

by bill-s, 2015-07-25T08:53:41.000Z

In theory, in the Model-View-Controller pattern what distinguishes the View from the Model and the Controller is that the View has no logic. The ideal View isn't supposed to require any testing, other than a quick look to make sure everything's spelled correctly and in the right place. Complete data-binding solutions (such as Windows Presentation Foundation) achieve that; ASP.NET MVC does not.

Read More