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
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