Users seem to be adding a Web API filter, by mistake, to the MVC global filter collection. Currently, we display the following error message:
"System.InvalidOperationException: The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter."
Modify the error message to include :
Full qualified names of these filters and/or Explicitly mention that Web API filters are not supported in it etc.
"System.InvalidOperationException: The given filter instance must implement one or more of the following filter interfaces: IAuthorizationFilter, IActionFilter, IResultFilter, IExceptionFilter."
Modify the error message to include :
Full qualified names of these filters and/or Explicitly mention that Web API filters are not supported in it etc.