عنوان:

‫کتابخانه ای جهت پیاده سازی Unobtrusive Ajax در ASP.NET Core


نویسنده: محمد جواد ابراهیمی
تاریخ: ۱۳۹۹/۰۸/۱۱ ۲۰:۵۰
آدرس: www.dntips.ir

AspNetCore.Unobtrusive.Ajax 

Unobtrusive Ajax Helpers (like MVC5 Ajax.BeignForm and Ajax.ActionLink) for ASP.NET Core 

Features

  • Works with Upload file.
  • Works with [AntiForgeryTokenValidation].
  • Has [AjaxOnly] attribute to limit actions.
  • Has httpRequest.IsAjaxRequest() extension method to check request is ajax and decide return PartialView or JSON result.
  • Additional overloads for ease of use.
  • Adds necessary JS script automatically when you use a Ajax Helpers and remove JS script when you no longer use it (Optional - is by default).
  • Uses CDN url instead of Embedded script (Optional - isn't by default). 


مشاهده مطلب اصلی