If anybody has written application in .net's 开发者_如何学运维MVC2 and MVC3, there is a change of syntax in writing a code like
<%= %>
has been replaced by
<%: %>
or
@
so this mean that:
<%= %> == <%: %> OR <%= %> == @
are equals?
<%= %>
Writes out the string exactly as is.
<%: %>
Html Encodes the string and then writes it out.
@
Html Encodes the string and then writes it out if you're using the Razor view engine.
精彩评论