Fork me on GitHub
摘要: 1.HttpContext.Current.Server.MapPath("~"); 2.HttpRuntime.AppDomainAppPath(推荐); 3.AppDomain.CurrentDomain.BaseDirectory; 结果: E:\IIS\WebApi\ 理由: 第1种写法,有 阅读全文
posted @ 2016-02-29 09:33 VAllen 阅读(2296) 评论(6) 推荐(0) 编辑