[英]Best way to converting .Net4/MVC 2.0 to .net4.0/MVC 4.5
So i have given an old project from my manager to upgrade it to new version on .net and MVC.所以我从我的经理那里给了一个旧项目,将它升级到 .net 和 MVC 上的新版本。 So i checked the project file and refrerence of my system.web.mvc and found that the project is in .Net 4 and MVC 2.0.
所以我检查了我的 system.web.mvc 的项目文件和引用,发现该项目在 .Net 4 和 MVC 2.0 中。 Now we need to upgrade it to .net4 MVC 4.5.
现在我们需要将它升级到 .net4 MVC 4.5。 I looked at bunch of documents but kind of skeptic which to follow and whats the best practice.
我看了一堆文件,但有点怀疑要遵循什么以及什么是最佳实践。
Can anyone tell me whats the best way to do it seamlessly.谁能告诉我什么是最好的无缝方式。
No, there's no clear cut way to go about this.不,没有明确的方法来解决这个问题。 My suggestion is to look at the differences between the versions, figure out what new functionality you're not leveraging and start refactoring to implement it.
我的建议是查看版本之间的差异,找出您没有利用的新功能,然后开始重构以实现它。 I would also look to see if any of the patterns had changed but it's going to be up to your specific needs.
我还会查看是否有任何模式发生了变化,但这将取决于您的特定需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.