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

Closed Issue: Throw error message when users try to supply handlers(IRouteHandler or Message handlers) when using attribute routing [1428]

$
0
0
Handlers like IRouteHandler in MVC and HttpMessageHandler in Web API do not work with attribute routing. A user implementing IDirectRouteProvider might supply these handlers even though these handlers would never work. Instead of this we can throw an error message upfront when building the route table so that users know the issue rather than spending hours to detect this.
Comments: Since we have removed Handler from RouteProviderAttribute and DirectRouteBuilder, users would not have a chance to supply the handler...so closing this...

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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