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

Commented Issue: Restore AcceptVerbs and HttpGet attributes [1276]

$
0
0
In MVC v4 and Web API v1, HttpGetAttribute (and other HttpFooAttributes) did not derive from AcceptVerbsAttribute. (AcceptVerbsAttribute was sealed.) Also, AcceptVerbsAttribute did not allow multiple.

These classes were expanded during attribute routing but then changed largely back. However, the base class/allow multiple parts were not restored.

Unless we intend to change the design of these attributes, the safer approach seems to be that we'd keep behavior from the previous version.
Comments: commit 76edf34a06af178954059e621da84d3eb11ff5b6

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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