2
Reply

What is Razor View Engine?

Thennarasu N

Thennarasu N

8y
365
0
Reply

    Razer view starts with @

    Razor is the first major update to render HTML in MVC3. Razor was designed specifically as a view engine syntax. It has one main focus: code-focused templating for HTML generation. Here’s how that same markup would be generated using Razor:@model MvcMusicStore.Models.Genre @{ViewBag.Title = "Browse Albums";}

    @Model.Name Albums

    The Razor syntax is easier to type, and easier to read. Razor doesn’t have the XML-like heavy syntax. of the Web Forms view engine.