开发者

WCF Odata services with Entity Framework exception guarding

开发者 https://www.devze.com 2023-03-27 14:23 出处:网络
How does one enable the ability to see the full 开发者_Python百科exception using an OData wcf service like you would using a local Objectcontext/dbcontext?In development we can\'t figure out how to ha

How does one enable the ability to see the full 开发者_Python百科exception using an OData wcf service like you would using a local Objectcontext/dbcontext? In development we can't figure out how to have the service supply the full error message in response.

Right now, if you don't supply a required field for an entity you get a generic "request could not be processed error" 500 error.


Have you tried these: http://blogs.msdn.com/b/phaniraj/archive/2008/06/18/debugging-ado-net-data-services.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消