MVC2 --> MVC3 Upgrade

蹲街弑〆低调 提交于 2020-01-24 02:53:13

问题


As today's MVC3 released, I would like to ask if anyone had experienced problems in upgrading from MVC2 to MVC3 (without changing anything in the views) .

I'm currently using EF4, Telerik extensions

Should I upgrade, or should I wait ?


回答1:


The lead developer on the project I'm currently on installed and upgraded MVC2 to MVC3 RC, and the project and we're using EF4 and Telerik.

We updated from RC to the release this morning and discussed the update from MVC2 to MVC3 RC. After installation, he had to update the project references and web.config, but was able to do it fairly painlessly.

Make sure any other developers working on the project install the framework it to prevent any issues after taking an updated copy of the solution that you check in after upgrading.




回答2:


I have been also thinking same. Expecially Telerik controls should work 100% because we're using them a lot.

There are some information in the Telerik forums regarding ASP.NET MVC 3:

Telerik Extensions for MVC 3 RTM

and some other threads regarding Razor engine + Telerik controls. Probably you're not converting all your views to Razor, so you don't encounter those problems.




回答3:


We made the move and even after updating the web.config are having issues with the Telerik controls not working. This is taking a working MVC2 site using Telerik MVC2 controls and simply installing MVC3 on the server and updating the config. There are no other changes to the codebase.

Strangely this affects the test server but not the dev server, even though the dev servers do not have Telerik MVC3 controls installed. Still investigating...



来源:https://stackoverflow.com/questions/4690958/mvc2-mvc3-upgrade

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!