How do I access an XML file I added to /App_Data folder in my WCF Service?
Asked
Active
Viewed 6,697 times
1
-
are you hosting your service on iis? – Rubens Farias Dec 15 '09 at 19:38
1 Answers
4
string fileName = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "data.xml");

Boris Mitchenko
- 880
- 9
- 18