The Razor is the new View engine introduced in MVC 3.0.
The View engine is responsible for processing the view files [e.g. .aspx, .cshtml] in order to generate HTML response. The previous versions of MVC were dependent on ASPX view engine.
- The syntax for server side code is simplified
- The length of code is drastically reduced
- Razor syntax is easy to learn and reduces the complexity