MVC2——> MVC3升级
今天MVC3发布了,我想问一下是否有人在从MVC2升级到MVC3(不改变视图中的任何内容)的过程中遇到过问题。
我目前正在使用 EF4、Telerik 扩展
我应该升级还是应该等待?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我目前负责的项目的首席开发人员安装并升级了 MVC2 到 MVC3 RC,并且该项目我们正在使用 EF4 和 Telerik。
我们从 RC 更新到今天早上的版本,并讨论了从 MVC2 到 MVC3 RC 的更新。安装后,他必须更新项目引用和 web.config,但能够相当轻松地完成。
确保从事该项目的任何其他开发人员都安装该框架,以防止在升级后签入的解决方案的更新副本后出现任何问题。
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.
我也一直这么想。特别是 Telerik 控件应该 100% 工作,因为我们经常使用它们。
Telerik 论坛中有一些有关 ASP.NET MVC 3 的信息:
Telerik Extensions for MVC 3 RTM
以及一些有关 Razor 引擎 + Telerik 控件的其他线程。也许您没有将所有视图转换为 Razor,因此您不会遇到这些问题。
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.
我们采取了这一举措,即使在更新 web.config 后,Telerik 控件仍无法正常工作。这是使用 Telerik MVC2 控件获取一个工作的 MVC2 站点,并简单地在服务器上安装 MVC3 并更新配置。代码库没有其他变化。
奇怪的是,这会影响测试服务器,但不会影响开发服务器,即使开发服务器没有安装 Telerik MVC3 控件。仍在调查中...
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...