Where is Request.IsAjaxRequest() in Asp.Net Core MVC?
I got a little confused, because the title mentioned MVC 5. Search for Ajax in the MVC6 github repo doesn’t give any relevant results, but you can add the extension yourself. Decompilation from MVC5 project gives pretty straightforward piece of code: /// <summary> /// Determines whether the specified HTTP request is an AJAX request. /// … Read more