But unlike asp files, VB.NET offers a much cleaner separation between HTML and code.
不过与asp文件不同的是,VB.NET能够更清晰地分离HTML和代码。
By default, static compression only compresses HTM, HTML, and TXT file types and dynamic compression only compresses exe, DLL, and asp file types.
在默认情况下,静态压缩只压缩htm、html和txt文件类型,动态压缩只压缩exe、dll和asp文件类型。
In both classic ASP and ASP.NET, developers were used to using <%= expression %> to mix static and dynamic content. Unfortunately it is prone to HTML-injection errors.
在ASP和ASP.NET中,开发人员可以使用<%= expression%>来混合静态与动态内容,但这样也很容易造成HTML注入错误。
应用推荐