因?yàn)闃I(yè)務(wù)需要,我需要使用Mono平臺(tái)來運(yùn)行asp.net程序,但是移植過去后,程序中其他功能正常,可是使用HttpWebRequest來做http請(qǐng)求報(bào)錯(cuò),錯(cuò)誤信息如下:System.NotImplementedException: The requested feature is not implemented. at System.Net.HttpWebRequest.set_DefaultCachePolicy (System.Net.Cache.RequestCachePolicy value) [0x00000] in :0 at Maticsoft.Common.WebClient.CreateRequest (System.String url, System.String method) [0x00000] in :0 at Maticsoft.Common.WebClient.Post (System.String url, System.Byte[] postData) [0x00000] in :0 at Maticsoft.Common.WebClient.Post (System.String url, System.String postData) [0x00000] in :0 at PX.BLL.T_CourseInfoBLL.GetModelListByCache (Boolean flag, System.String username, Int32 year, Int32 month) [0x00000] in :0 不知道到底什么原因,求解!
Mono 下運(yùn)行asp.net程序(windows環(huán)境) http 請(qǐng)求報(bào)錯(cuò)
慕田峪7331174
2018-11-21 15:13:17