Ryan3430957
Ryan3430957

Reputation: 21

ASP.NET MVC migrating from aspx view engine to razor view engine

I recently took over an ASP.NET MVC application that was started many years ago using the aspx view engine.

One of the things I would like to do in an effort to improve the application is to migrate all of the views over to use the Razor view engine. I am looking for some advice on the best way to do this. I have seen a couple articles discussing using 2 view engines in one application but would like to throw this question out to the group.

Questions

Any advice on the best way to incrementally migrate views from aspx to Razor without having to re-write them all first?

Is it practical to try to run 2 view engines at once?

Any particular gothchas I might need to be aware of?

Please note that this application needs to be available for sales demos so I can't just take it down while views are migrated.

Upvotes: 2

Views: 971

Answers (1)

Hadi R.
Hadi R.

Reputation: 413

you can use this tool to convert your aspx pages to razor, you just need to copy exe file to your views directory and run it ... that's it ...

Upvotes: 2

Related Questions