Local database storage for WinRT/Metro applications

Martin Robins picture Martin Robins · Feb 18, 2012 · Viewed 11.4k times · Source

I am trying to find an API within WinRT that will allow me to create a local database that can be used to store data for an occasionally connected application. I am looking for something like SQL Compact Edition.

I have seen various messages on various boards indicating that there either

  • (a) will be no local databases whatsoever
  • (b) no local "server" databases (i.e. SQL Express type instances)
  • (c) A local database code named "Jet Blue".

Does anybody have a definitive answer to this? I do not want to start down this road if it is blocked.

Answer

Sergey Barskiy picture Sergey Barskiy · Jun 29, 2012

SQLite is now officially supported. See Tim Heuer's blog for details. For simpler solution with less data you can use http://winrtdatabase.codeplex.com/