Xamarin.Forms Local Database Tutorial

Before attempting this tutorial, you should have successfully completed the:

In this tutorial, you learn how to:

  • Use the NuGet Package Manager to add SQLite.NET to a Xamarin.Forms project.
  • Create the data access classes.
  • Consume the data access classes.

You will use Visual Studio 2019, or Visual Studio for Mac, to create a simple application that demonstrates how to store data in a local SQLite.NET database. The following screenshots show the final application:

Screenshot of local SQLite.NET database data persistence, on iOS and Android