标签: xml wcf app-data
如何访问我在WCF服务中添加到/ App_Data文件夹的XML文件?
答案 0 :(得分:4)
string fileName = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "App_Data", "data.xml");