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


It will continue to use ASP.NET 1.0 unless you run the 2.0 upgrade tool. If I'm not mistaken, all the tool does is update your web.config to point all MVC references to 2.0 instead of 1.0



0


a source







All Articles