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

Commented Issue: Add CreateResponse overload that only takes T for body [960]

$
0
0
Currently there is an overload that takes HttpStatusCode and T but in many cases HttpStatusCode.OK is the code and in those cases it would be easier just to be able to pass in T.

It would also be useful to have additional CreateErrorResponse for server error, client error, etc.


Comments: Added a CreateResponse overload that only takes T for body. https://aspnetwebstack.codeplex.com/SourceControl/changeset/2ea27ee982c876b063a0a3b0ff21c0872b4f45f3

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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