How does the ASP. NET MVC2.0 Project upgrade to 3.0??
Introduction: After the introduction of MVC in March 2009, it can be said that the pace of development is very fast, only in less than 3 years, MVC version has reached from 1.0 to 4.0, especially the transition between 2.0 and 3.0 can be said to be very large, so we used to develop a 2.0 version of the project has gone, but also to re-development, more trouble ah, I tell you here, completely unnecessary, because we have a special conversion tool can achieve project conversion, I will explain in detail This process, first you need to have a development environment and a project developed with MVC2.0, the next steps listen to me slowly
1. Build Razorconverter with the famous Telerick team!
Download URL: https://github.com/telerik/razor-converter
2. Download down unzip and you can see these files
3. Double-click the. sln file to build the solution in VS
1. Locate the exe file under the Aspx2razor\bin\debug folder and copy the three files.
2) Set up a folder in the D disk named Mvc_demo, inside the set up a folder tool, copy the files copied to the inside,:
4. Find a MVC2.0 item in the same directory as the tool folder under the file:
5. Find the path to the view file inside the MVC2
D:\MVC_Demo\MVC2\MVC2\Views
6. We are not allowed to run Aspx2razor.exe directly here, we have to go to the command line to run, enter the following command
7. So we can see a folder below the D drive mvc_demo_transition
8. Open this folder we look inside the view folder below the project has been successful,:
Source: http://www.cnblogs.com/hanyinglong/archive/2012/10/05/2712633.html GitHub Open Source project: Https://github.com/kencery
Convert the ASPX view of ASP. NET MVC to a razor view