Tuesday, June 05, 2007

ASP.NET Server side comments

Server-Side Comment Syntax: <%-- Comment --%>

I found this at:

Why do I always forget this?

BTW - I have seen some pretty interesting bugs were a programmer (actually me) used instead of server side tags to comment out old code. This means the code actually runs server side, but gets generated inside comment tags client side. Unless you look at the source, you have no way of noticing, even if you view the client side page every day. Until one day something goes wrong with the server side code and it crashes or causes some sort of side effect, and you track it down to what you thought was dead code.


Anonymous Anonymous said...

порно онлайн молодеж http://free-3x.com/ порно фото малолеток младше 18 лет free-3x.com/ молодая брюнеточка порно онлайн [url=http://free-3x.com/]free-3x.com[/url]

6:52 AM  

Post a Comment

<< Home