由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - asp.net的webform和MVC有什么不同
相关主题
[讨论]Does asp.net start from the wrong foot?感觉MVC比web form好用多了
Webforms vs. MVC用mvc4做的project,看网页source code,还是有
tag。
UI 牛人给指点一下,用微软的技术如何实现这种UI的编程。Summary: 2 个web form之间如何传参数?
请推荐一本 .net web site 的入门书Ajax & Invalid Viewstate
架构问题,我们这样的系统用什么好?asp.net随机排列,怎么分页
WinForm project converted to WebForm ApplicationPass passwords etc sensitive info
microsoft为啥放弃aspx网页,转做javascript网页?Re: DotNetNuke2.04, Could you pls expla
Free Video Training: ASP.NET MVC 3 Featureshow to let button response 'return' key?
相关话题的讨论汇总
话题: mvc话题: web话题: forms话题: strengths话题: webform
进入DotNet版参与讨论
1 (共1页)
r*******n
发帖数: 3020
1
我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢
那种Magic风格;还是Django什么东西都放到明处,感觉有底。
asp的那种风格跟Django类似?
G***o
发帖数: 5158
2
http://weblogs.asp.net/shijuvarghese/archive/2008/07/09/asp-net
http://msdn.microsoft.com/en-us/library/dd381619.aspx
Strengths of ASP.NET Web Forms
The following list describes the strengths of the ASP.NET Web Forms model
for building Web applications.
Event model. Web Forms supports an event-driven programming style that
is like Windows applications. Many events are available, and they are
supported by hundreds of server controls.
State management. Web Forms reduces the complexity of managing state by
using view state and server-based controls.
Page-based architecture. Web Forms provides an architecture that
combines a page with declarative markup (an .aspx file) with a code-behind
file that adds functionality. This structure can make it easy to create
pages that implement common tasks, such as responding to user gestures and
rendering markup from server code.
Rich set of controls. The ASP.NET community has made available hundreds
of server controls and components that reduce development time.
Strengths of ASP.NET MVC
The following list describes the strengths of the ASP.NET MVC model for
building Web applications.
Separation of concerns. ASP.NET MVC enforces a "separation of concerns",
in which the application is divided into discrete and loosely-bound parts—
namely, the model, view, and controller parts of the application. This makes
MVC applications easier to test and maintain.
More control of rendered HTML. MVC significantly increases your control
over rendered HTML.
Test-driven development. MVC was designed to make test-driven
development easier. You can create an MVC project and its test project at
the same time. You can then create unit tests for each action method in your
application, and run them without invoking the complete request cycle for a
Web application.

【在 r*******n 的大作中提到】
: 我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢
: 那种Magic风格;还是Django什么东西都放到明处,感觉有底。
: asp的那种风格跟Django类似?

p*********t
发帖数: 2690
3
asp.net c#编程,要用到viewState,session之类的,还有property之类的,和别的语
言还是有差别的。

【在 r*******n 的大作中提到】
: 我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢
: 那种Magic风格;还是Django什么东西都放到明处,感觉有底。
: asp的那种风格跟Django类似?

H*******g
发帖数: 6997
4
viewState不属于MVC

【在 p*********t 的大作中提到】
: asp.net c#编程,要用到viewState,session之类的,还有property之类的,和别的语
: 言还是有差别的。

1 (共1页)
进入DotNet版参与讨论
相关主题
how to let button response 'return' key?架构问题,我们这样的系统用什么好?
[合集] 我不知道.net里大家什么用得做多WinForm project converted to WebForm Application
今年的TechEdmicrosoft为啥放弃aspx网页,转做javascript网页?
这个网站是asp.net mvc based?Free Video Training: ASP.NET MVC 3 Features
[讨论]Does asp.net start from the wrong foot?感觉MVC比web form好用多了
Webforms vs. MVC用mvc4做的project,看网页source code,还是有 tag。
UI 牛人给指点一下,用微软的技术如何实现这种UI的编程。Summary: 2 个web form之间如何传参数?
请推荐一本 .net web site 的入门书Ajax & Invalid Viewstate
相关话题的讨论汇总
话题: mvc话题: web话题: forms话题: strengths话题: webform