Currently, Web API contains IActionMethodSelector but unfortunately it's internal. So, you cannot use action method selector or action name selector in Web API. But you can easily create AjaxOnly, Please make this public. See http://forums.asp.net/p/1784268/4910381.aspx
Comments: You can use filters to address some of these scenarios, like AjaxOnly. See http://weblogs.asp.net/imranbaloch/archive/2012/04/01/adding-ajaxonly-filter-in-asp-net-web-api.aspx
Comments: You can use filters to address some of these scenarios, like AjaxOnly. See http://weblogs.asp.net/imranbaloch/archive/2012/04/01/adding-ajaxonly-filter-in-asp-net-web-api.aspx