Reputation: 2396
How do I access an XML file I added to /App_Data folder in my WCF Service?
Upvotes: 1
Views: 6701
Reputation: 880
string fileName = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "data.xml");
Upvotes: 4