如何在Web表单应用程序和移动客户端之间同步存储数据? [英] How to synchronize storaged data between web forms application and mobile client?
本文介绍了如何在Web表单应用程序和移动客户端之间同步存储数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Context: I have a web forms application using the Entity Framework to store objects in the SQL Server Express LocalDB. To work offline on a mobile client´s browser, i use a manifest file and need to synchronize the stored data.
Approach: I could use the local storage of a mobile browser, avoid creating a mobile app and thus could stay platform independent.
Question: How could i achieve to synchronize and map the stored data of the SQL Server with the local storage easily? Is there maybe another approach?
I´d appreciate your input.
推荐答案
我建议你玩Web API,这真的很棒微软世界中最简单的事情
http://channel9.msdn.com/Events/aspConf/aspConf/Introduction-to-the-ASP-NET-Web-API [ ^ ]
这有点像钓鱼而不仅仅是获得一个...你不应该选择快速解决方案,但如果你在开始之前知道这一点。 ..这也是最快的方式:)
I recommend you play around with Web API, that's really the easiest thing in Microsoft world
http://channel9.msdn.com/Events/aspConf/aspConf/Introduction-to-the-ASP-NET-Web-API[^]
It would be a bit like lerning to fish as opposed to just getting one ... you shouldn't opt for a quick solution imho, but if you'd known this before starting ... it's also the fastest way :)
这篇关于如何在Web表单应用程序和移动客户端之间同步存储数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文