Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hello ... Everybody
I want to develop MVC Web Application.
Which View Engine(ASPX/Razor) is more suitable for beginner and
which is quick in development field. How they are different?
Please,anyone can advise?
Thank All ...
             MinChanSike
Posted
Updated 23-Feb-14 7:57am
v2

One of main advantage of Razor advantage of razor viewengine over the aspx is they are easy to learn and much clean than Web Form syntax and also Razor has new and advance syntax that are compact, expressive and reduces typing..
No problems of starting with Razor for beginners.
 
Share this answer
 
I think If you feel the aspx is more suitable to you,you should use it .

After you know well about MVC4,you can change asxp to razor .
 
Share this answer
 
There are many Advantages if using Razor View Engine over the conventional Aspx WebPages.

Unit Testability( good TDD support) ,Cleaner Syntax and Code and less learning curve being some of those.

Refer the link for a detailed comparison,

Difference-Between-Razor-View-Engine-and-ASPX-View-Engine[^]

Scottgu-introducing-razor[^]
 
Share this answer
 
Razor is closer to C#. Thus if you are comfortable with C#, think about Razor.
Razor offers more compact syntax.
 
Share this answer
 
v2
After getting through you can try for Customized View Engines as it helps in performance enhancement(though less but can be handy).
thank you :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900