0

I have a Windows 8 App that uses a SQLite database and I'm trying to backup an entire table on a remote server (SQLServer, but not Windows Azure). What are the best practices for accomplishing this?

Ideally, I was thinking that I could create an XML stream in the App and post to a page that I created that would parse the XML and then insert the rows into our SQLServer db...but it seems that all of the examples of XML for Windows 8 only deal with receiving XML...not creating and posting XML.

(a) is there a better way to accomplish this?

(b) if not, is there a good example of an XML post that you can point me to?

(c) I can do JSON as well if that's an alternative.

4

1 回答 1

0

同步是更好的做法,而不是备份。我建议阅读这篇博文。

使用 Sync Framework Toolkit 同步 WinRT/SQLite(带有示例应用程序)

于 2013-04-03T05:24:58.367 回答