This Razor View engine is a part of new rendering framework for ASP.NET web pages.
ASP.NET rendering engine uses opening and closing brackets to denote code (<% %>), whereas Razor allows a cleaner, implied syntax for determining where code blocks start and end.
Example:
In the classic renderer in ASP.NET:
<ul>
<% foreach (var userTicket in Model)
{%>
<li><%:userTicket.Value %><li>
<% } %>
</ul>
by Using Razor:
<ul>
@foreach(var userTicket in Model)
{
<li>@userTicket.Value</li>
}
<ul>