[WCF] - Odata Service 访问失败,查看具体错误信息的方法

Issue

解决

为 Data Service 配置属性如下:
[System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)]

参考

posted @ 2017-06-28 00:26  jinzesudawei  阅读(168)  评论(0)    收藏  举报