I am using System.IO.Directory.GetCurrentDirectory() to get the current directory in my web service, but that does not give me the current directory. How do I get the curren
Best way is using
HostingEnvironment.ApplicationPhysicalPath under System.Web.Hosting
HostingEnvironment.ApplicationPhysicalPath
System.Web.Hosting
for more information please refer this link