开发者

Events in Asp.Net MVC

Are the controller actions an analogous feature to the ASP.NET events? and How to Handle postback in Asp.Net MVC as there is no viewstate and postbacks in MVC what is the alternative for that in the开发者_StackOverflow framework?


No it's not analogous.

Think about it as uber public method (accessible through http get/post/etc.) that returns html.

There aren't such a thing as postback anymore. Neither is viewstate.

Basically - you receive input and form output. That's it.

With correct way of doing that - you don't even need an alternative.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜