摘要: 使用WCF编写服务,涉及到xml的读取,使用了System.AppDomain.CurrentDomain.BaseDirectory来获取路径,获得的是项目的基目录 例如: string path = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, @Data.xml); xml文件: ?xmlversion= 1.0 encoding= utf-8 ? Users User UserName Sky300 /Us 使用WCF编写服务,涉及到xml的读取,使用了System.AppDomain.C... 阅读全文
posted @ 2014-03-24 09:59 awp110 阅读(235) 评论(0) 推荐(0) 编辑