MVC或Web窗体? [英] MVC or Web Forms?

查看:143
本文介绍了MVC或Web窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一个一般性的问题。当我想开发一些新的Web项目(非简单的页面,更大的东西和相当复杂的)什么样的技术,我应该选择 - MVC或Web窗体?

I a general question. When i want to develop some new web project (not simple page-something bigger and quite complex) what technology should i choose- MVC or Web Forms?

我试图找到自己,但也有关于该主题很多不同的意见。是否有任何一般规则或方法,它可以帮助我做决定?

I've tried to find it myself but there are many different opinions about that topic. Is there any general rule or methodology which can help me decide?

推荐答案

没有,没有一般规则。这只是preference的问题。有人喜欢MVC,有人喜欢web表单。微软将同时支持平分。

No, there is no general rule. It's only a matter of preference. Someone likes MVC, someone likes webforms. Microsoft will support both equally.

根据别人谁说,这样更好,因为他是完全错误的经验不挑MVC VS Web表单,但是基于自己的直觉或如何将它形容是最好的。你需要感到舒适与技术,您正在使用,不与它斗争。

Don't pick MVC vs Webforms based on the experience of someone else who says "THIS IS BETTER", because he's just plain wrong, but based on your instinct or how to describe it the best. You need to feel comfortable with the technology you're using, not struggle with it.

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

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