How to access App_Data folder in WCF service?
I have placed a xslt file and I am not able to find the path.
How to access App_Data folder in WCF service?
I have placed a xslt file and I am not able to find the path.
You need to use HostingEnvironment.ApplicationPhysicalPath:
string myXsltFilename = HostingEnvironment.ApplicationPhysicalPath +
"App_Data\\my.xslt";