Can “classic” ASP.NET pages and Microsoft MVC coexist in the same web application?

前端 未结 7 1243
清酒与你
清酒与你 2021-01-02 02:32

I\'m thinking about trying out MVC later today for a new app we\'re starting up, but I\'m curious if it\'s an all or nothing thing or if I can still party like it\'s 2006 wi

7条回答
  •  礼貌的吻别
    2021-01-02 02:58

    If you're mixing MVC with other methodologies you're not really getting the benefit out of it. The point of MVC is to allow you to decrease coupling and increase cohesion, and if only half of your code is doing that, then the other half is inevitably going to restrain your development cycle.

    So, I guess while it's possible, I don't think it's worth it. Go all the way or don't go at all.

提交回复
热议问题