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: We've removed this interface altogether: https://aspnetwebstack.codeplex.com/SourceControl/changeset/054d57adde8882419ef4102892b2e70378350837 If there are new extensibility scenarios we need, we can look at those specifically regardless of this interface.
Comments: We've removed this interface altogether: https://aspnetwebstack.codeplex.com/SourceControl/changeset/054d57adde8882419ef4102892b2e70378350837 If there are new extensibility scenarios we need, we can look at those specifically regardless of this interface.