What is the best way to migrate a MVC 2 project to MVC 3 using the Razor view engine?

后端 未结 5 955
一生所求
一生所求 2021-02-13 14:37

What is the best way to migrate a MVC 2 project to MVC 3 using the Razor view engine?

5条回答
  •  感动是毒
    2021-02-13 15:09

    Do you need/want to move to Razor or just having MVC 3? You can still use your aspx pages with the WebFormViewEngine and MVC 3. This what I did on my side because we had quite a big app and more than just a few issues when migrating to MVC 3. So for a while we kept apsx pages and moved pages progressively to cshtml.

提交回复
热议问题