xamarin表单app不从azure easy tables中提取数据

时间:2018-03-16 21:11:48

标签: xamarin.forms azure-mobile-services

我跟着这个link为may xamarin表单app创建后端应用程序,我可以将一些数据保存到easy table但是我无法从azure table检索现有数据到mobile,我得到了Push操作在尝试提取数据时拉取数据失败。

1 个答案:

答案 0 :(得分:0)

  

我可以将一些数据保存到easy table但是我无法将现有数据从azure表检索到mobile,我在尝试提取数据时拉取数据时得到Push操作失败。

正如How offline synchronization works所述,关于隐式推送

  

如果对具有挂起的本地更新的表执行了pull,则pull首先在同步上下文中执行var d3Projection = d3.geoMercator().scale(1).translate([0, 0]); // var d3Projection = d3.geo.mercator().scale(1).translate([0, 0]); var d3Path = d3.geoPath().projection(d3Projection); // var d3Path = d3.geo.path().projection(d3Projection); var pixelBounds = d3Path.bounds(features); var pixelBoundsWidth = pixelBounds[1][0] - pixelBounds[0][0]; var pixelBoundsHeight = pixelBounds[1][1] - pixelBounds[0][1]; 。此推送有助于最小化已排队的更改与服务器中的新数据之间的冲突。

要在执行拉取操作时检索详细错误,您可以尝试使用fiddler捕获网络跟踪以缩小此问题的范围。此外,您可能需要处理推送操作的冲突(捕获push())。您可以关注adrian hall关于Handling Conflict Resolution的书的详细信息。

简单来说,我建议您在Azure门户上的移动应用程序的“开发>快速启动”刀片下载Xamarin.Forms示例项目,您可以关注here的详细信息。此外,您还可以使用The Mobile Client教程通过使用Xamarin.Forms开始使用Azure移动应用程序。