Using Unobtrusive Ajax In Razor Pages

added by DotNetKicks
9/17/2018 1:21:11 PM

1 Kicks, 773 Views

There are a few demonstrations showing how to use the jQuery Unobtrusive AJAX library in ASP.NET Core, but existing examples tend to feature MVC applications. This article looks at how to use Unobtrusive AJAX in a Razor Pages setting, where it will help to remove a lot of the boilerplate associated with making AJAX requests.