Use Ajax to perform CRUD operations in ASP.NET Core Razor Pages

added by DotNetKicks
3/13/2018 1:12:21 PM


ASP.NET Core Razor Pages offer a simple page based programming model for the developers. A razor pages consists of a .cshtml files and associated page model class. The page model class can house actions to handle HTTP verbs. For example, a page model class can contain OnGet(), OnPost(), OnPut(), and OnDelete() actions to deal with GET, POST, PUT, and DELETE verbs respectively.