摘要:
一、创建时,WCF Service中HttpContext.Current为null的解决办法1. 在hosting WCF的web.config中加入:<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/></system.serviceModel>2. 在Service的类定义上加上下面Attribute:[AspNetCompatibilityrequirements(RequirementsMode = AspNetC 阅读全文
posted @ 2012-05-23 13:12
黄靖洆
阅读(10851)
评论(3)
推荐(4)

浙公网安备 33010602011771号