ASP.NET MVC has always supported the concept of view engines. View engines are pluggable modules that implement several template syntax option. The default view engine for ASP.NET MVC uses the same .aspx/ .ascx.master file templates in ASP.NET Web Forms.
This article will show you how to go through the Razor View Engine to create a view of an application.
If you don’t know Razor, Razor is not a new programming language itself but uses a C# syntax for embedding a code in the page without using the ASP.NET delimters. It is a simply syntax view engine and was released as a part of ASP.NET MVC3.
Read the rest of the tutorial here: http://www.codeproject.com/Articles/639695/Getting-Started-with-Razor-View-Engine-in-MVC