A filter that can be applied to an MVC action to specify that either Ajax or non-Ajax requests should not be allowed.