Razor View Engine
View engine
plays a very important role as they are used to render HTML Page. We use Razor
to create view in MVC. Razor View Engine is the combination of both HTML and
Programming language. When we use C# programming language then its extension is
.cshtml and when we use vb language then its extension is .vbhtml.
In asp.net
Web Form application we use ASPX View Engine. In MVC we can work with both
Razor and Web Form View Engine (Aspx View Engine). Razor is the default view
engine of MVC.
In this
tutorial Series I will try to discuss each point of Razor.
Note: - Kindly go through View in MVC
No comments:
Post a Comment