本文介绍了ASP.NET MVC VS WebForms的:速度和结构比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和我的朋友是谁在pretty大型互联网公司的建筑师之一的说法。基本上,他说,ASP.NET MVC是不是大型企业的应用程序,它并不像的WebForms灵活,而且一个MVC应用程序会比一个We​​b窗体应用程序慢。

I had an argument with one of my friends who is an architect at a pretty large internet company. Basically he was saying that ASP.NET MVC is not for large-scale enterprise applications, that it is not as flexible as WebForms, and that an MVC app will be slower than a web forms app.

从我自己的经验与MVC的工作,我可以说,它更加灵活,它是重量更轻,因为没有页面生命周期,视图状态等。它应该这样加载速度最起码。据我所知,MVC是专为中型到大型的交通。

From my own experience working with MVC, I can say that it is more flexible and it is lighter weight because there is no page life cycle, viewstate, etc.. It should thus load faster at the very least. As far as I know, MVC is designed for medium to large scale traffic.

你们觉得呢?有没有人比速度和性能?而且是ASP.NET MVC大规模应用ASP.NET比更好的WebForms?

What do you guys think? Has anyone compared speed and performance? And is ASP.NET MVC better for large scale apps than ASP.NET WebForms?

总之,这两个选择,你会选择要用于大型企业应用程序,它的?

In short, between these two choices, which would you choose to use for a large scale enterprise application?

推荐答案


  • 发展速度:WebForms的

  • 性能速度:MVC

  • 易于使用:的WebForms(通常情况下)

  • 单元测试:MVC(通常情况下)

这篇关于ASP.NET MVC VS WebForms的:速度和结构比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 23:48