📜 ⬆️ ⬇️

Migrating applications from ASP.NET MVC 2 to ASP.NET MVC 3 Preview 1

I just finished previewing my ASP.NET MVC application conversion tool to support converting from ASP.NET MVC 2 to ASP.NET MVC 3.

A previous version of the application that converted from ASP.NET MVC 1.0 to ASP.NET MVC 2 is available here .


image
')

Download



The application is launched separately: download MvcAppConverter-MVC3Preview1.zip (256 KB).

Using



The only requirement for this tool is the availability of .NET Framework 4 on the machine. You do not need to have Visual Studio or ASP.NET MVC installed (if you don’t want to open your project!). Even though the tool performs an automatic backup of your solution, it is recommended that you also make a manual backup of your solution.

  1. Run the converter
  2. Choose a solution
  3. Click “Convert”
  1. Open a project in Visual Studio 2010 to convert the solution and project files from VS2008 to VS2010
  2. Upgrade the target version of the .NET Framework of each project to .NET Framework 4, because ASP.NET MVC 3 is compatible only with .NET Framework 4
  3. Run the converter
  4. Choose a solution
  5. Click “Convert”


What can it do



  1. Update links to ASP.NET MVC 2
  1. Change project type to ASP.NET MVC 3
  2. Update links in the root ~ / web.config to ASP.NET MVC 3
  3. Update ~ / web.config root to have a coherent redirect from ASP.NET MVC 2 to ASP.NET MVC 3
  4. Update links in ~ / Views / web.config to ASP.NET MVC 3


What it can't do



Source: https://habr.com/ru/post/100445/


All Articles