Upgrade to ASP.NET MVC version 2

本小妞迷上赌 提交于 2019-12-23 10:21:10

问题


I have been doing some work on a ASP.NET MVC project today i tried to publish the website but i ve got an error. my hosting service provider told me is due to the fact that i have version 1 while they support version 2. how can i upgrade to version 2? are the differences between the two version so extreme that a previous version is not supported by the successuve?

thanks


回答1:


That seems very unusual, because:

  1. MVC 2 is still in beta, and
  2. The two versions can be run side by side.



回答2:


This sounds backwards (i.e. I would see if they only supported 1, not 2). 2 is not yet final, unless I'm very much wrong.

MVC should be bin-deployable. Just mark the reference (to your current v1 ref) to copy local and try publishing that way.




回答3:


There is a guidance document on MSDN :Upgrading an ASP.NET MVC 1.0 Application to ASP.NET MVC 2. I used it today and it was very helpful in migrating my application.



来源:https://stackoverflow.com/questions/1829560/upgrade-to-asp-net-mvc-version-2

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