你打算从ASP.Net Web窗体移动到ASP.Net MVC? [英] Do you plan move from ASP.Net Web Forms to ASP.Net MVC?

查看:102
本文介绍了你打算从ASP.Net Web窗体移动到ASP.Net MVC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有,是什么时候?多少时间,你认为这一进程将需要迁移现有项目(如果是这种情况)?

If yes, when? and how much time do you think that the process will take to migrate your current projects (if it's the case)?

推荐答案

我已经使用了几个月了。我绝对喜欢MVC。将现有项目可能不太现实,取决于可用的时间。在我看来,Web窗体模拟窗口形式的发展旧VB人群。虽然MVC并不pretend它的东西,它不是更加紧密地遵循HTTP进程。

I've been using it for a few months now. I absolutely love MVC. Converting existing projects may not be realistic, depending on available time. As I see it, Web Forms simulates windows forms development for the old VB crowd. While MVC doesn’t pretend it’s something it’s not and follows the Http process more closely.

一些加分我看到MVC

A few plusses I see in MVC

1)它是可测试与单元测试

1) It’s testable with unit tests

2)的Html上直接控制。我们做的网站,我们怎么接受不能够控制所有我们的HTML?

2) Direct control over Html. We make websites, how do we accept not being able to control all our html?

3)无行李的ViewState

3) No viewstate baggage

4)无控制树浪费时间渲染

4) No control tree to waste time rendering

5)自动从表单后一个模式的结合

5) Automatic binding of a modal from a form post

6)它可以是相当性感

6) It can be rather sexy

和几个缺点

1),没有更多的Web控件(以及许多丰富的第三方控件丢失)

1) No more web controls (and many rich 3rd party controls are lost)

2)慢开发

3)大的学习曲线

4)仍处于测试阶段(CTP即将虽然)

4) Still in Beta (CTP soon though)

这篇关于你打算从ASP.Net Web窗体移动到ASP.Net MVC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆