使用 ASP.Net MVC 与 Web 表单的最大优势 [英] Biggest advantage to using ASP.Net MVC vs web forms
本文介绍了使用 ASP.Net MVC 与 Web 表单的最大优势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用一种方法比另一种方法有哪些优势?
What are some of the advantages of using one over the other?
推荐答案
ASP.net MVC的主要优点是:
启用对呈现的 HTML 的完全控制.
Enables the full control over the rendered HTML.
提供清晰的关注点分离 (SoC).
Provides clean separation of concerns(SoC).
启用测试驱动开发 (TDD).
与 JavaScript 框架轻松集成.
Easy integration with JavaScript frameworks.
遵循网络无状态特性的设计.
Following the design of stateless nature of the web.
支持 SEO 的 RESTful 网址.
RESTful urls that enables SEO.
没有 ViewState 和 PostBack 事件
No ViewState and PostBack events
ASP.net Web Form 的主要优点是:
它提供RAD开发
适用于来自 winform 开发的开发人员的简单开发模型.
Easy development model for developers those coming from winform development.
这篇关于使用 ASP.Net MVC 与 Web 表单的最大优势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文