Access an XML file in /App_Data folder of my WCF service?

6.7k Views Asked by At

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

1

There are 1 best solutions below

0
On
string fileName = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "data.xml");