Find out how to handle jQuery Ajax requests in ASP.NET Core razor pages.
Razor pages uses handler methods to deal with HTTP request. When rendered the name of the handler is added to the form’s action as a query string parameter. We need to use similar URL pattern while making the jQuery Ajax call.