因為業務需要,我需要使用Mono平臺來運行asp.net程序,但是移植過去后,程序中其他功能正常,可是使用HttpWebRequest來做http請求報錯,錯誤信息如下: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 下運行asp.net程序(windows環境) http 請求報錯
慕田峪7331174
2018-11-21 15:13:17