开发者

Can I achieve exactly the same user experience with ASP.NET MVC as with ASP.NET (Webforms)? [duplicate]

This question already has an answer here: Closed 12 years ago.

Possible Duplicate:

Can I use ASP.NET MVC together with regular ASP.NET Web forms

Let's say I need to build a shopping cart. Would I be able to get the same user experience wi开发者_运维技巧th ASP.NET MVC or would I need to "pick the right tool for the job" - use Webforms and MVC where applicable instead of just focusing on either one.


If by "same result" you mean "same user experience" -- of course.

Edited to add: MVC, like all frameworks, started as a way for developers to get the "same result" with less work. Anything that can be done with a framework can be done without it, it just takes more time. Frameworks reduce work by excluding possibilities: a manual transmission can do some things an automatic can't, but it saves you enough effort that you don't mind.

If you're asking if you can use WinForms and MVC simultaneously...you can always drop a plain WinForm into an MVC site.


MVC is just a different way of using the same tool (in my experience anyways). Actually... looking back over previous Web Forms projects... I wish I could convert them all to MVC.. the separation is so much better/cleaner.

I agree with @egrunin tho.. same user experience is accomplished through either method of development.. it's just a different way of thinking about things (IE: MVC is stateless).

As per your edited question

you can blend MVC and Web Forms, however I would highly recommend picking one or the other. You'll be thankful for it later. MVC's learning curve isn't actually all that hard once you dive in.


In the end you're just generating html which gets sent to the browser. There it gets a sauce of css and behavior due to javascript over it.

Generating the html can be done with both Webforms and MVC, or another server side technology.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜