Is there anybody let me know why IsAjaxRequest is deprecated in ASP.Net Core or is there any alternative function.
I used this function allot in my projects now I want to upgrade to ASP.Net Core
if (Request.IsAjaxRequest())
{
return PartialView("index2", VMJob);
}
return View(VMModel);
there is a work around: Where is Request.IsAjaxRequest() in Asp.Net Core MVC?
but I want to know is there any builtin function in ASP.Net core