Issue:
HttpContext.Current is null in wcf service
Solution:
Set the aspNetCompatibilityEnabled is true in the Web.Config file
HttpContext.Current is null in wcf service
Solution:
Set the aspNetCompatibilityEnabled is true in the Web.Config file
- <system.serviceModel>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
- </system.serviceModel>
No comments:
Post a Comment