1

How do I access an XML file I added to /App_Data folder in my WCF Service?

Nevin Mathai
  • 2,316
  • 13
  • 39
  • 54

1 Answers1

4
string fileName = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "data.xml");
Boris Mitchenko
  • 880
  • 9
  • 18