本文介绍了Razor和ASP.Net Engine有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i不知道Razor视图引擎和Asp.Net引擎有什么区别和
有什么缺点Asp.net。
为什么Viewstate是ASp.Net的劣势请给我全部。
坦克你。
Hi,
i have no idea what is the difference between Razor view Engine and Asp.Net Engine and
what are the disadvantages of Asp.net.
why Viewstate is disadvantage of ASp.Net please give me full on it.
Tanking you.
推荐答案
Web Form syntax are borrowed from Asp.net Web Forms syntax that are mixed with html and sometimes make a view messy. Webform uses <% and %> delimiters to make the code like as:
<%: Html.ActionLink("SignUp", "SignUp") %>
5. Web表单引擎不支持TDD(测试驱动开发),因为它依赖于System。 Web.UI.Page类使测试变得复杂。
5. Web Form Engine doesn't support TDD (Test Driven Development) since it depend on System.Web.UI.Page class which makes the testing complex.
这篇关于Razor和ASP.Net Engine有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!