开发者

WCF Odata services with Entity Framework exception guarding

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜