What is "razor"

The ASP.NET Razor is a view engine (Vision engine) created by Microsoft to generate dynamic content predominantly in HTML. With it we have the possibility to insert the application logic directly in the project’s visualization layer, using a language that adheres to the Framework. NET.

It is possible to insert the Razor syntax along with the HTML codes within the same page. This syntax is extremely simplified and can be used the syntax of the C# and Visual Basic . NET languages.

The Razor Engine is already included in the Webmatrix.

There are also some free implementations available on Github:

https://github.com/Antaris/RazorEngine