2012-03-12 37 views
0

我有Wcf服務,其方法是POST,我通過Fiddler調用。我有這條線:HttpContext.Current返回null

string x = HttpContext.Current.Server.MapPath("."); 

和HttpContext.Current返回null。我該如何解決這個問題?

+1

這應該是你所需要的一切:http://msdn.microsoft.com/en-us/library/ms752234.aspx – ChaosPandion 2012-03-12 14:26:12

回答