Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Store user data in Windows 8 metro app

I am learning how to develop Windows 8 Metro style apps but i couldn't found a way to store user data in SQL Server for example.

What could i use or how to store user data.

like image 1000
John Doe Avatar asked Jan 22 '12 18:01

John Doe


2 Answers

You cannot access local "desktop services" from the Metro app. So you will not be able to communicate with a local SQL Server. You can use online services that store your information or you can use local storage.

Take a look at:

  • How to store and retrieve local application data
  • ApplicationData sample

That question is also debated here and here

like image 118
Tiago Andrade e Silva Avatar answered Oct 17 '22 15:10

Tiago Andrade e Silva


You can use SQLite for Windows Runtime

Here is a blog post explaining how to use it:

http://timheuer.com/blog/archive/2012/08/07/updated-how-to-using-sqlite-from-windows-store-apps.aspx

like image 41
Neil Hoff Avatar answered Oct 17 '22 13:10

Neil Hoff