Difference between Razor and ASPX

Razor View engine is introduced in MVC 3. Razor View has ‘.cshtml’ file extension in C# and ‘vbhtml’ in Visual Basic. In the Razor View code writes down in @ symbol. Razor has a big advantage in simplicity and readability. RazorPages are complied with DLLs. So once you’ve hit the page, it’s just as fast as any other page.Razor minimizes the number of characters and keystroke required in a file, and enables a fast coding workflow

Example:@HTML.somthing

Whereas ASPX View engine with have ‘.aspx’ file extension for both C# as well as Visual Basic. In the ASPX View we have write down code in scriptlet tag< %%>.ASPX is a very simple language to parse.

Example: <%HTML.something %>

11.Then Press OKbutton.

12.Open Solution Explorer (Ctrl+Alt+L) right click on Controller folder and add a new controller.