What is Razor in MVC?

  • Sharad Jaiswal
  • 17th Nov, 2022

3 answer(s) :

  •   Reply
    img

    Prachi

    07th Oct, 2019
    "

    Razor refers to a mark-up syntax that helps the user to code embedded server-based web pages. It is a general-purpose templating engine that can be used anywhere for generating the outputs. It is a view engine that is supported in ASP.NET MVC for writing the codes using C# visual studio. Text characteristics involve compact, easy to learn and intelligence.

  •   Reply
    img

    Anil Saini

    08th Feb, 2020
    "

    MVC Razor interview questions

    What is Razor View Engine?

    Razor view engine is an advanced view engine from Microsoft that introduced in MVC 3. Razor view engine is default view engine in MVC 3 and MVC 4.

  •   Reply
    img

    Tran

    25th Jan, 2021
    "

    ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules, which practically implement different template syntax options. The “default” view engine for ASP.NET MVC uses the same .aspx/.ascx/. master file templates as ASP.NET Web Forms. Other popular ASP.NET MVC view engines are Spart&Nhaml. Razor is the new view engine introduced by MVC 3.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.