Click here to Skip to main content
15,893,790 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Posted
Updated 3-Apr-15 4:16am
v2

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
 
Share this answer
 
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.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900