Convert aspx pages to use Razor view engine

#891