传统的ASP .NET Web窗体VS MVC [英] Traditional ASP .NET Web Forms vs MVC

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

问题描述

作为一个具有一定WinForms和客户端应用程序的经验 - 是值得回去和学习方式传统的ASP .NET页的工作,或者是它没关系直移动到ASP .NET MVC

As someone with some winforms and client applications experience - is it worth going back and learning the way traditional ASP .NET pages work, or is it okay with moving straight into ASP .NET MVC?

我有点找我一般C#的知识缺陷或陷阱,我不会从截屏视频系列,事情在ASP .NET网站知道了。

I'm kind of looking for pitfalls or traps in my knowledge of general C#, that I won't know from the screencast series and things on the ASP .NET site.

推荐答案

下面是关于MVC伟大的事情。它的工作原理在比正常ASP.NET Web表单框架的底部。因此,通过使用MVC和了解它,你将有一个更好的理解的WebForms是如何工作的。与WebForms的问题是有很多的魔法和6年左右的努力,使像Windows窗体网络的工作,让你有控件树层次,一切都转化到Web上。随着MVC你得到的内核与出WinForm的影响。

Here is the great thing about MVC. It works closer to the base of the framework than normal ASP.NET Web Forms. So by using MVC and understanding it, you will have a better understanding of how WebForms work. The problem with WebForms is there is a lot of magic and about 6 years of trying to make the Web work like Windows Forms, so you have the control tree hierarchy and everything translated to the Web. With MVC you get the core with out the WinForm influence.

因此​​,与MVC开始,你将能够轻松地在如果需要移动到的WebForms。

So start with MVC, and you will easily be able to move in to WebForms if needed.

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

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