Content deleted Content added
Luckas-bot (talk | contribs) m r2.7.1) (Robot: Adding tr:Microsoft ASP.NET Razor |
Mrmagoo2006 (talk | contribs) m fixing ref links |
||
Line 34:
| url =
}}
'''Razor''' is an [[ASP.NET]] programming syntax used to create [[dynamic web page]]s with the [[C Sharp (programming language)|C#]] or Visual Basic programming languages. Razor was in development in June 2010<ref name="IntroducingRazor">[http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx
==Introduction==
Line 41:
== Advantages of Razor==
The idea of Razor was to create an optimized syntax for HTML generation using a code-focused templating approach using a minimization of transition between HTML and code.<ref name=MVC3rve>[http://www.asp.net/mvc/videos/mvc-3-%E2%80%93-razor-view-engine
* Is not a new language (no major changes to learn)
* Supports [[IntelliSense]] (statement completion support)
* [[Unit testing|Unit Testable]]
<ref name=pro1>[http://stackoverflow.com/questions/1451319/asp-net-mvc-view-engine-comparison
==Criticism==
Using the Razor syntax could be awkward for programmers used to prior markup syntax and although it does cause complex views to be more readable there is minimum editing advantage for smaller views. The current ASP.NET MVC 3 does not yet support syntax highlight for Razor views.<ref name=critic1>[http://geekswithblogs.net/mbridge/archive/2011/06/06/asp.net-mvc-3-hosting--understanding-razor-view-engine-asp.net.aspx
== References ==
|