Interviews - C# Corner

Rajesh Gami
What is “Razor pages” in ASP.NET Core?
By Rajesh Gami in ASP.NET Core onApr 14 2018
  • 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.

    • 0
  • 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
  • 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.

    • 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 Companies

Most Popular Job Functions

MOST LIKED QUESTIONS