When you use VS 2010 (or the free Visual Web Developer 2010
Express) to build ASP.NET MVC 2 applications, you’ll find that the views that
are scaffolded using the “Add View” dialog now by default always use <%:
%> blocks when outputting any content. For example, below I’ve scaffolded
a simple “Edit” view for an Article object. Note the three usages of
<%: %> code nuggets for the label, textbox, and validation message (all
output with HTML helper methods):