ASP.NET Razor: Difference between revisions

Content deleted Content added
Twburger (talk | contribs)
m Added a inline link.
No edit summary
Line 34:
| url =
}}
'''Razor''' is an [[ASP.NET]] programming syntax used to create dynamic Webweb pages with the [[C Sharp (programming language)|C#]] or Visual Basic programming languages. Razor was in development in June of 2010<ref name="IntroducingRazor">[http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx]|Introducing Razor</ref> and was released for Microsoft Visual Studio 2010 in January of 2011 <ref name="RazorsyntaxSupport">[http://blogs.msdn.com/b/webdevtools/archive/2011/01/12/how-to-get-razor-syntax-support-in-visual-studio-2010.aspx]|Razor syntax Support</ref>. Razor is a simple-syntax view engine and was released as part of [[ASP.NET Model View Controller (MVC)]] 3 and the [http://www.microsoft.com/web/webmatrix/ WebMatrix] tool set<ref name="RazorsyntaxSupport" />.
 
'''Microsoft ASP.NET Razor View Engine'''
 
Razor is an [[ASP.NET]] programming syntax used to create dynamic Web pages with the C# or Visual Basic programming languages. Razor was in development in June of 2010<ref name="IntroducingRazor">[http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx]|Introducing Razor</ref> and was released for Microsoft Visual Studio 2010 in January of 2011 <ref name="RazorsyntaxSupport">[http://blogs.msdn.com/b/webdevtools/archive/2011/01/12/how-to-get-razor-syntax-support-in-visual-studio-2010.aspx]|Razor syntax Support</ref>. Razor is a simple-syntax view engine and was released as part of ASP.NET Model View Controller (MVC) 3 and the [http://www.microsoft.com/web/webmatrix/ WebMatrix] tool set<ref name="RazorsyntaxSupport" />.
 
==Introduction==
The Razor syntax is a template markup syntax that enables the programmer to use an HTML construction workflow and is based on the C# programming language. Instead of using the ASP.NET .ASPX markup syntax using <code><%= %></code> blocks to indicate code blocks the Razor syntax starts of a code block with Razor using a @ character and does not require explicit closing of the code-block.
 
== Advantages of Razor==