Why I need to Stop Using <%= … %> For Rendering and Start Using <%: … %> in Asp.net?
<p>I read somewhere that I should stop using <code>&lt;%= … %&gt;</code> to render and start using <code>&lt;%: … %&gt;</code>.</p>

<p>Can anyone explain what are differences between <code>&lt;%= … %&gt;</code> and  <code>&lt;%: … %&gt;</code>, and what are advantages of using one or another?</p>

<p>Here is the slidedeck I am reading </p>

<p><a href="http://ssmith-presentations.s3.amazonaws.com/ASPNET_TipsTricksTools_April2010.zip" rel="nofollow">http://ssmith-presentations.s3.amazonaws.com/ASPNET_TipsTricksTools_April2010.zip</a></p>

<p>Here are the links you can get more information from </p>

<p><a href="http://weblogs.asp.net/scottgu/archive/2010/04/06/new-lt-gt-syntax-for-html-encoding-output-in-asp-net-4-and-asp-net-mvc-2.aspx" rel="nofollow">http://weblogs.asp.net/scottgu/archive/2010/04/06/new-lt-gt-syntax-for-html-encoding-output-in-asp-net-4-and-asp-net-mvc-2.aspx</a></p>

<p><a href="http://haacked.com/archive/2009/11/03/html-encoding-nuggets-aspnetmvc2.aspx" rel="nofollow">http://haacked.com/archive/2009/11/03/html-encoding-nuggets-aspnetmvc2.aspx</a></p>
