摘要:
在线程中无法Mappath,主要是因为:HttpContext.Current为null,所以: 关键在于构造一个HttpContextpublic class CSiteConfig { private static HttpContext ct = new HttpContext(new HttpRequest("", "http://dewrqiwe5555rqwekxczvm23482734zxcadfasdf.com", ""), new HttpResponse(new System.IO.StringWriter())) 阅读全文
posted @ 2011-12-13 23:35
吾非无心
阅读(343)
评论(0)
推荐(0)

浙公网安备 33010602011771号