Thennarasu N
What is Razor View Engine?
By Thennarasu N in .NET on Oct 21 2016
  • Mukesh Kumar
    Sep, 2017 5

    Razer view starts with @

    • 0
  • Thennarasu N
    Oct, 2016 21

    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.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS