ASP.NET MVC 3 ships with a new view-engine option called “Razor”
(in addition to continuing to support/enhance the existing .aspx view engine).
You can learn more about Razor, why we are introducing it,
and the syntax it supports from my Introducing Razor blog post. If you haven’t read that
post yet, take a few minutes and read it now (since the rest of this post will
assume you have read it). Once you’ve read the Introducing Razor post, also read my ASP.NET MVC 3 Preview post and look over the ASP.NET MVC 3
Razor sample I included in it.