Content deleted Content added
Undoing vandalism (Razor was replaced with Vomit). Undid revision 450503888 by 173.8.91.62 (talk) |
m WP:CHECKWIKI error 61 fixes + general fixes using AWB (7841) |
||
Line 10:
| genre = [[Web application framework]]
| license = [[Proprietary software|Proprietary]]
| programming language = [[
| operating system = [[Microsoft Windows]]
| website = {{URL|http://www.asp.net}}
Line 34:
| url =
}}
'''Razor''' is an [[ASP.NET]] programming syntax used to create dynamic web pages with the [[C Sharp (programming language)|C#]] or Visual Basic programming languages. Razor was in development in June
==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]|MVC 3 – Razor View Engine</ref>
* Is not a new language (no major changes to learn)
* Supports Intellisense (statement completion support)
* [[
<ref name=pro1>[http://stackoverflow.com/questions/1451319/asp-net-mvc-view-engine-comparison]|ASP.NET MVC View Engine Comparison</ref>
==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]|ASP.NET MVC 3 Hosting :: Understanding Razor View Engine ASP.NET MVC 3 C#</ref>
== References ==
Line 64:
<!--- Categories --->
[[Category:ASP.NET]]
[[Category:Template engines]]
|