本文介绍了Silverlight& odata版本4的客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我想测试odata v4的新客户端。 (http://www.nuget.org/packages/Microsoft.OData.Client/)

I want to test the new client for odata v4. (http://www.nuget.org/packages/Microsoft.OData.Client/)

我试图连接到odata测试服务(http ://services.odata.org/V4/OData/OData.svc/)但我在执行的第一个查询时不断收到ArgumentException。

I tried to connect to the odata test service (http://services.odata.org/V4/OData/OData.svc/) but i keep getting an ArgumentException at the first query i execute.

有没有人尝试连接到Silverlight的odata v4服务?

Does anyone have ever tried to connect to an odata v4 service with silverlight?

最好的问候

推荐答案

我已尝试过你的odata服务" http://services.odata.org/V4/OData/OData.svc/ ",似乎此服务无法访问。请尝试使用其他数据服务。目前,
是您可以使用的大量公共OData服务。您可以在OData网站上找到完整列表,例如:

I have tried your odata service "http://services.odata.org/V4/OData/OData.svc/", it seems that this service couldn't acess. Please try to use another data service. Currently there are lots of public OData services you can use. You can find a complete list on the OData site ,for example:http://services.odata.org/OData/OData.svc/



此外,这里有两个可以为您提供帮助的链接。 />
#Consuming使用Silverlight的OData

#OData Services

http://www.codeproject.com/Articles/393623/OData-Services

#OData Services
http://www.codeproject.com/Articles/393623/OData-Services

最诚挚的问候,

Lucasbalabala

Best Regards,
Lucasbalabala


这篇关于Silverlight& odata版本4的客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 15:29