Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC 3 without using Razor?

Is the Razor engine really needed to create an MVC3 site with EditorFor syntax? Almost all the examples I've seen are using Razor. Were working on our first MVC project, and would rather not be on the bleeding edge ...

like image 623
Greg Avatar asked Jun 23 '11 16:06

Greg


2 Answers

The short answer is "no", you don't have to use Razor. IMHO you should really reconsider moving away from the ASPX view engine. Razor is a very stable platform for generating HTML.

New View

like image 126
Yuck Avatar answered Nov 02 '22 22:11

Yuck


You can use webform viewengine also. if you want to convert view from razor to webform you can find vs extension here. Also telerik has a tool to convert it you can find it here on telerik site

like image 23
Tassadaque Avatar answered Nov 03 '22 00:11

Tassadaque