我正在嘗試調用Web服務並獲取json響應以訪問我的應用程序。我爲JSON響應的get set屬性創建了類。下面是我試圖 public class iResponse
{
public iResponse(){ }
public List<iDTO> data { get; set; }
}
public class iDTO
{
public iDTO()
我想從C#應用程序調用Odata服務。我之前已經調用了其他服務,並在C#中使用了響應,並首次嘗試Odata。下面是我正在使用的代碼 using (var client = new HttpClient())
{
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateVa