public static string GetModelErros(this ModelStateDictionary dic) { var sb = new StringBuilder(); var enumerable = dic.Values; if (enumerable != null) { foreach (ModelState modelState in enumerable) { foreach (ModelError error in (Collection<ModelErr
Issue 解决 为 Data Service 配置属性如下:[System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)] 参考 http://salvoz.com/blog/2011/02/18/where-are-the-server-logs/