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

Edited Issue: IncludeErrorDetailPolicy has no effect in some circumstances [267]

$
0
0
Hi there, please find attached my demonstration that under some circumstances, Web API returns a HTTP 500 and a zero-length response. I believe that the framework should provide some error information.

Unzip the attached file, launch the project in VS 2012 RC and send a GET request to /rpcapi/Test
This will demonstrate that error information is returned in this case.

Now send a GET request to /rpcapi/TestWithEntity
Now an HTTP 500 with an empty response will be returned.

"TestWithEntity" should return a serialized ADO.NET Entity Framework object, or, if this cannot be serialized, some exception information.

many thanks
Kris


Viewing all articles
Browse latest Browse all 7215

Trending Articles



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