Ban HTML comments from your pages and views
Posted
on Dot net Slackers
See other posts from Dot net Slackers
Published on Fri, 02 Apr 2010 00:00:00 GMT
Indexed on
2010/04/02
23:03 UTC
Read the original article
Hit count: 624
Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
© Dot net Slackers or respective owner
When doing ASP.NET, a simple drop-in replacement is server comments, which are delimited by <%-- --%> instead of <!-- -->. Those server comments are visible in your source code, but will never be rendered to the client.