Razor is a new markup syntax used to create dynamic web pages with the C# or VB.NET programming languages. It is responsible for rendering the view into html form to the browser. Razor was released as part of MVC 3.
ASP.NET MVC support web form (.aspx) and Razor View Engine. Instead of using the ASP.NET web forms (.aspx) markup syntax with <%= %> symbols to indicate code blocks, Razor syntax starts code blocks with a @ character and doesn’t require explicit closing of the code block.
- Initial Release : June 2010
- Written in : C#, VB.NET, HTML