将网站mvc 5降级为mvc 4。 [英] Downgrade website mvc 5 to mvc 4.

查看:59
本文介绍了将网站mvc 5降级为mvc 4。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我想将我的网站mvc 5降级为mvc 4因为我托管的那个,那个环境不支持mvc 5.



任何人都可以给我建议我可以做什么或者我的项目需要做哪些更改。



我已经在web.config和app web.config中进行了更改(在views文件夹中)。





Thanks.Its urgent。

Hi,


I want to downgrade my web site mvc 5 to mvc 4 because where I am hosting that, that environment not supports the mvc 5.

Can any one give me the suggestion what could I do or where I have to do changes in my project.

I have done the changes in web.config and app web.config(in views folder).


Thanks.Its urgent.

推荐答案

浏览 MVC 5中有什么新功能[ ^ ]并查看如果你使用了任何新功能。如果是这样找到替代方法。



在VS2012建立您的网站。



测试它仍然有效。



部署。



我们无法提供更深层次的详细信息,因为我们看不到您的代码。

如果遇到特定问题,请返回导致问题的代码
Go through the list of what's new[^] in MVC 5 and see if you used any of the new features. If so find alternative approaches.

Build your website in VS2012.

Test it still works.

Deploy.

We cannot provide a deeper level of detail because we can't see your code.
If you hit a specific problem then come back with the code that is causing the problem


如果您使用了特定的功能,则没有简单的降级方法那个版本。

你唯一的选择就是先在早期版本中运行同一个站点,然后慢慢测试每个功能。
There is no easy way to downgrade if you have used features specific to that release.
The only option you will have is to start by running the same site in an earlier release and then slowly testing every feature.


谢谢你你有价值的回复。



我创建了一个MVC 4应用程序并将所有MVC 5 C#代码复制到同一个类中。

它适用于我。



谢谢。
Thank you for your valuable replies.

I have created a MVC 4 application and copied all the MVC 5 C# code in same classes.
It works for me.

Thanks.


这篇关于将网站mvc 5降级为mvc 4。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆