Rajesh Gami
What is “Razor pages” in ASP.NET Core?
By Rajesh Gami in ASP.NET Core on Apr 14 2018
  • Rohan Rao
    Dec, 2019 9

    Razor pages are eligant way of rendering the UI to the web page. It is similar to ASPX Web Forms page, but the syntax is different. It has @ symbol to denote the razor syntax.

    • 2
  • Dhaval Patel
    Sep, 2018 27

    A Razor Page is very similar toASP.NET MVC’s view component. It has basically same syntax and functionality as MVC.

    • 1
  • Pitch Nhire
    Jun, 2018 27

    Razor Pages is a new feature of ASP.NET Core that makes coding page-focused scenarios easier and more productive. One of the advantages of Razor Pages is that it is straightforward to set up and get going. You create a new empty project, you add Pages folder, you add the Page, and you just write code and markup inside of your .cshtml file.

    • 1
  • Shivam Shukla
    Jun, 2018 27

    Razor Pages is a new aspect of ASP.NET Core MVC that makes coding page-focused scenarios easier and more productive.MS Doc Link: https://docs.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-2.1&tabs=visual-studio

    • 0
  • Rajesh Gami
    Apr, 2018 14

    “Razor Pages” is a new feature of ASP.NET Core and it was released with ASP.NET Core 2.0 release. Razor Pages are simple pages or views without controllers and introduced with the intent of creating page focused scenarios where there is no real logic is involved. You will find razor pages similar to ASP.NET Web Forms. They work on the convention and need to be placed in Pages folder and the extension is .cshtml. Razor pages uses handler methods to deal with incoming HTTP request.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS