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

Edited Issue: Add a Request.CreateResponse overload that takes the content CLR type as parameter. [883]

$
0
0
Request.CreateResponse<T> doesn't use the runtime type of the object for content-negotiation. This would be an issue when the formatter doesn't responds to CanWriteType(typeof(object)) with false (example ODataMediaTypeFormatter). An example scenario can be found [here](https://gist.github.com/raghuramn/5084608).

Having a non-generic overload where we can specify T would be useful.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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