2017年9月22日

ServiceHelper

摘要: 1 public class ServiceHelper 2 { 3 private static string _baseUrl = $@"http://{Config.Instance.MesServerUrl}/"; 4 private static string _sessionHeader; 5 pub... 阅读全文

posted @ 2017-09-22 17:36 jonney_wang 阅读(359) 评论(0) 推荐(0) 编辑

log4net.xml

摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 阅读全文

posted @ 2017-09-22 17:35 jonney_wang 阅读(331) 评论(0) 推荐(0) 编辑

JsonHelper

摘要: public static class JsonHelper { public static string ToJson(this object obj) { var str = Newtonsoft.Json.JsonConvert.SerializeObject(obj, Newtonsoft. 阅读全文

posted @ 2017-09-22 17:33 jonney_wang 阅读(155) 评论(0) 推荐(0) 编辑

webHttpBinding

摘要: 1 [ServiceContract] 2 public interface IHanger 3 { 4 /// 5 /// 根据请求的用户的所属的组织,决定工单发布到哪个吊挂产线 6 /// 7 /// 8 /// 9 /// 10 ... 阅读全文

posted @ 2017-09-22 17:32 jonney_wang 阅读(382) 评论(0) 推荐(0) 编辑

wcf 基本配置

摘要: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... 阅读全文

posted @ 2017-09-22 17:30 jonney_wang 阅读(142) 评论(0) 推荐(0) 编辑

Config 代码片段

摘要: 1 class Config 2 { 3 private static Config _instance = null; 4 5 public static Config Instance 6 { 7 get 8 { 9 if (_i... 阅读全文

posted @ 2017-09-22 17:27 jonney_wang 阅读(190) 评论(0) 推荐(0) 编辑

导航