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 = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "my.xslt");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With