Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: Give more detailed error message when a WebAPI filter is added to a MVC global filter collection. [321]

$
0
0
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.


Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>