Updating structure in ASP.Net MVC solution
We have an ASP.Net MVC 1.0 solution developed using Visual Studio 2008 and .net Framework 3.5SP1.
We would now like to update Visual Studio to 2010.
- If we just open the solution in VS 2010 and don't change the framework version, can we continue developing as before?
- If we open the solution in VS 2010 and change the frame version to 4.0, will we automatically start ASP.Net MVC 2.0 or will we continue to use ASP.Net MVC 1.0?
- Is there anything to consider when upgrading to ASP.Net MVC 2.0?
thanks
Shiraz
+2
a source to share
2 answers
- Yes.
- I don't know if this is supported, but I wouldn't go there. It would be more appropriate to update MVC 2 first, then .NET 4.
- Yes many. Check out the release notes on CodePlex. Many things have changed, including model binding, processing,
TempData
and the return types of HTML helpers. This is a violation. There's a wizard out there trying to help, but you'll have to fix some of it manually.
+2
a source to share