title: write a file from webservices
body: <p>I have a web service using .net c# and I want to write to a text file on the server, but I cannot get this to work. I believe it's a permission problem.</p>
  
  <p>Specifically, I think the problem is I am using <code>System.IO.Directory.GetCurrentDirectory()</code>.  </p>
  
  <p>Is there a better alternative?</p>