简体   繁体   English

与本地数据库和Azure移动服务同步

[英]sync with local db and azure mobile service

I am developing a Windows 10 application which should download data up to 30mb data from mobile service(written) and store it in local db. 我正在开发Windows 10应用程序,该应用程序应该从移动服务下载(书面)最多30mb的数据并将其存储在本地数据库中。 This should be performed every day when connected to WIFI network. 当连接到WIFI网络时,应该每天执行一次。

Can anyone help me out with this scenario. 任何人都可以在这种情况下帮助我。

Thanks in advance 提前致谢

Trilok Trilok

This is quite definitely doable with Azure Mobile Apps. 这对于Azure移动应用程序绝对是可行的。

Use Azure Mobile Apps to write the main backend. 使用Azure移动应用编写主要后端。 You can start with the QuickStart backend and then modify for your particular scenario. 您可以从QuickStart后端开始,然后针对您的特定方案进行修改。 Just follow the QuickStart tutorial for offline sync (and probably authentication). 只需按照快速入门教程进行离线同步(可能还需要进行身份验证)即可。 I've produced a QuickStart for Windows 10 UWP . 我已经制作了Windows 10 UWP快速入门 In your Windows 10 application, only call the UpdateAsync() method when you are on Wifi. 在Windows 10应用程序中,仅在使用Wifi时才调用UpdateAsync()方法。 You can look at this question to detect wifi vs. cellular . 您可以看一下这个问题,以检测wifi和手机

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM