Using the Converter

  1. Download the Executable File from the Downloads Link
  2. Drop the executable into the folder with the Views you want converted
  3. Double click on the executable and it will convert all the Views for you into cshtml files
  4. Delete the old aspx views as you no longer need them anymore

Note: If you have more than one view folder repeat the process for all of them. This converted will not actually convert the entire project over to Razor though, that you will need to do yourself. I found the most hassle free way to do it was to create a whole new project using the Razor tempate with the same name and just move over the controller, models, and the new cshtml the razor converter creates. The only snag is the masterpage, in Razor it is called something different so you'll need to do some special work on that one to get it right.

Last edited Jul 19, 2011 at 1:16 PM by AKatawazi, version 1

Comments

No comments yet.