Why MVC instead of good old ASP.NET? Still not grasping why I should go this route?

后端 未结 7 586
谎友^
谎友^ 2021-01-31 20:40

I know this question has been asked before and I read all the answers but they still don\'t give me the answers I am looking for. I need something concrete. I volunteered to g

相关标签:
7条回答
  • 2021-01-31 21:33

    MVC is considered as an alternative to good old asp.net, not the next step. IMHO MVC has a clear advantage if you want to write unit tests for your pages.

    But I don't agree that MVC adds anything to classic asp.net in the name of performance, code quality or productivity. You can achieve same performance with asp.net by shutting down viewstate when not necessary or you can be more in control of HTML output by using lightweight server controls. (Repeater instead of DataGrid for example.)

    0 讨论(0)
提交回复
热议问题