Do you avoid using ASP/ASP.NET tags in plain HTML?
6/08/2016 4:53 AM by
ASP and ASP.NET tags have no place in plain HTML pages. They simply increase the size of the file and are ignored by browsers, because the need to be processed on the server. When converting ASP.NET pages to plain HTML you must be careful to remove all of these tags.
<%@ Page Language="C#" %>Figure: Bad Example - ASP.NET tags accidentaly placed in a plain HTML documents
<ssw:inctop id="inctop" runat="server"></ssw:inctop>
We have a program called SSW Code Auditor to check for this rule.
Do you feel this rule needs an update?