c# - Diference between special tags asp.net -
i'm developing front-end part of application right now, , question came mind.
what difference between asp.net special tags:
<%= %> <%@ %> <%# %>
and if exists special tag please describe function.
<%=
prints raw value of expression within.
syntax can cause xss vulnerabilities , should not used.<%:
prints , html-escapes value of expression within.<%#
<%=
, used data-binding<%
executes block of code , ignores , return values<%@
used directivespage
orimports
.
Comments
Post a Comment