I can’t find this info anywhere. Probably because Google is ignoring the keywords. Is there a difference between using <%: and <%= in your aspx page? They seem interchangeable.
I can’t find this info anywhere. Probably because Google is ignoring the keywords. Is
Share
<%: %>is a new thing in ASP.NET MVC 2. It is the same as<%= Html.Encode("Text") %>. It is recommended to always use<%: %>unless you have some specific reason to not do so (for example, you are rendering data from some file or database that’s already been encoded).