Razor was not available in the original version of MVC which instead relied upon the WebForms view engine. Here's an example of WebForms syntax:
<span>Hi there <%= User.Name %></span>
Razor was born out of frustration many developers had with ASPX.
In this post, Scott first outlines the why of Razor. Then he takes you example by example through the features and use-cases. Subsequent activities in this task dig further into many of these.
GK Digital is an online, collaborative learning platform built from the ground up to be a superior learning experience on the web. It is self-paced and yet supported by both your peers and instructors. We have reimagined what learning should be in a world full of public information such as blogs, YouTube, etc. GK Digital is professional training in the 21st century.