How to MapPath with RequestContext in WCF Service

后端 未结 1 1680
挽巷
挽巷 2021-01-11 18:02

This MSDN article says:

HttpContext: Current is always null when accessed from within a WCF service. Use RequestContext instead.

What I\'m tryin

相关标签:
1条回答
  • 2021-01-11 18:18

    You can use HostingEnvironment.MapPath.

    0 讨论(0)
提交回复
热议问题