摘要: 1.在WCF服务端使用HttpContext.Current为空的解决方案: 1)在服务端WCF的类上加描述[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] 2)在服务端WEBCONFIG的<system.serviceModel>节点里加<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>2.在WCF服务端使用HttpContext. 阅读全文
posted @ 2011-09-07 09:38 潇客的技术博客 阅读(3069) 评论(1) 推荐(3) 编辑