OData源代码 [英] OData source timout
问题描述
我正在使用Visual Studio 2012 RC中的LightSwitch复制
中描述的应用程序
http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/133/A-LightSwitch-Netflix-OData-Mash-up.aspx但是在尝试从OData源检索数据时会出现超时异常(http://developer.netflix.com/docs/oData_Catalog )。
我尝试更改Web.Config文件中的timeout参数,但似乎无法解决问题。有什么想法吗?
I'm reproducing, in LightSwitch in Visual Studio 2012 RC,the application described in http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/133/A-LightSwitch-Netflix-OData-Mash-up.aspx but get a timeout exception when trying to retrieve the data from the OData source (http://developer.netflix.com/docs/oData_Catalog). I tried changing the timeout parameter in the Web.Config file but that doesn't seem to resolve the problem. Any ideas?
推荐答案
您可以下载一个示例项目。你可能想尝试一下。我小心翼翼地一次只请求一页记录,因为如果你请求太多,它会超时。
There is a sample project you can download. You may want to try that out. I was careful to only request one page of records at a time because if you request too much it will time out.
这篇关于OData源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!