简体   繁体   中英

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

如何访问我在WCF服务中添加到/ App_Data文件夹的XML文件?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM