Start Free Trial
Migration from Asp.Net MVC 2.0 to 5.0
I am working for one of my project and for the same I want to Migrate from Asp.Net MVC 2.0 to 5.0 . Please let me know the best approach for Modifying the code base to support .NET 4.5 and ASP.NET MVC
8/22/2022 - Mon
With each release, it seems there are things that were added, changed or removed. The cleanest approach would be to start an MVC5 project and start moving your code into this new project (this is what I would do - unless of course your project is really massive).
Depending on the complexity of your project, you might find it better to upgrade one version up each time and using provided upgrade tools (such as this one
for moving from 2 to 3). Or manually upgrading by going through the upgrade guidelines with each framework version (example get the document
ASKER CERTIFIED SOLUTION
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I completely agree with Mr. Praveen create a new empty MVC 5 project, and move all your files there from the old MVC 2 project, but firstly I suggest you to create a backup and don't try to change your .dll file. There is a lot of difference between MVC 5 and MVC 2 like .net framework and features. If you want to update your .dll file then it's very difficult.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent