對於問題#1,檢查了主題Streaming Provider (WCF Data Services),其中包括本WCF配置使用WCF數據服務,以使較大的消息和從OData服務:
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
<services>
<!-- The name of the service -->
<service name="PhotoService.PhotoData">
<!--you can leave the address blank or specify your end point URI-->
<endpoint binding="webHttpBinding"
bindingConfiguration="higherMessageSize"
contract="System.Data.Services.IRequestHandler"></endpoint>
</service>
</services>
<bindings>
<webHttpBinding>
<!-- configure the maxReceivedMessageSize value to suit the max size of
the request (in bytes) you want the service to receive-->
<binding name="higherMessageSize" transferMode="Streamed"
maxReceivedMessageSize="2147483647"/>
</webHttpBinding>
</bindings>
對於問題#2,WCF數據服務客戶端不支持JSON,只支持Atom XML。您是否嘗試過Using System.Json for non-Silverlight projects?這個帖子,這個帖子似乎對其他解決方案提供了一些有用的信息,用於解析客戶端數據服務中的JSON。