Tired of writing <%= Server.HtmlEncode(Model.MyString) %>? Here’s the new ASP.NET 4 way:
<%: Model.MyString %>
Tired of writing <%= Server.HtmlEncode(Model.MyString) %>? Here’s the new ASP.NET 4 way:
<%: Model.MyString %>
Posted by Mário Romano at Wednesday, April 07, 2010
Labels: Development
No comments:
Post a Comment