Company News and Bootcamp Blog

Structuring Views in ASP.NET MVC to Centralize Logic

Peter Vogel writes about setting up and assembling MVC Views for VisualStudio Magazine:

"We all know that the ASP.NET MVC Views we create contain logic we must test: loops to display repeating elements, If…Then blocks to include or omit pieces of HTML, and so on. And, as a result, we end up with logic in our Views that we must test to make sure it's doing the right thing in all circumstances."