WCF Service中HttpContext.Current为null的解决办法
摘要:
1. 在hosting WCF的web.config中加入: <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/> </system.serviceModel> 2. 在Service 阅读全文
posted @ 2018-04-21 17:23 大西瓜3721 阅读(191) 评论(0) 推荐(0)
浙公网安备 33010602011771号