How to get working path of a wcf application?

前端 未结 7 1607
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 01:16

I want to get the working folder of a WCF application. How can I get it?

If I try

HttpContext.Current.Request.MapPath(HttpContext.Current.Request.Ap         


        
相关标签:
7条回答
  • 2020-11-29 02:05

    Use HostingEnvironment.ApplicationPhysicalPath in WCF to find your application physical path. Use namespace using System.Web.Hosting;

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