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
You can use
AppDomain.CurrentDomain.BaseDirectory;
This gives you the root directory of your application.