开发者

ASP.NET/MVC 3 Status

What is the status of ASP.NET/MVC technology? Would there be big changes 开发者_运维百科that affect every code base? Is it stable (backward compatible) enough to be used in real world?

Best Regards


You know, the very site you're using.. Stack Overflow, was written in MVC. That should answer your question.


Yes, it is stable. Yes, it is production ready. It is used on this very same site. Depending on your existing code base there might or might not be big changes in order to port it to ASP.NET MVC 3.


Kaveh, I banned using MVC1 in my team because I am a late adopter but a fast adopter (agency work doesn't have time for discovering bugs on behalf of the creator).

Since MVC2 (and now including MVC3), I am very very keen for people to use it. There are some things about MVC that might be difficult if you've only ever worked in web forms, but if you understand http, and html, then it has cut away a lot of the annoying bulk in web forms.

  • MVC will quickly overtake Webforms in popularity.
  • MVC requires less code in most cases.
  • MVC enables very easy integration with other client side frameworks and now defaults to using jquery as a standard (in webforms, lightweight ajax usually requried a lot of custom code and quite a bit of repetition).
  • MVC generates almost no garbage in your html output.
  • MVC is long overdue, stable, secure and simply a fantastic step in the right direction for Microsoft.

I would only suggest you tread carefully with where you get your advice on how to do things and any use of 3rd party products like StructureMap that are not supported by Microsoft. I have seen some people make big mistakes with that combination, but never because of MVC.

There was little or no breaking changes from MVC2 - MVC3 unless you'd used certain approaches. I would actually say you are less likely to get breaking changes in future but any version upgrade in any platform will require some work if the changes are worth it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜