
Syncing Local Database with OneDrive Personal (Part 2)
References, Tools, Frameworks & Operating System used. S/No Items Links 1. Windows 10 or 11 Download Windows 10 (microsoft.com) 2. Visual Studio 2019 or 2022 Visual Studio: IDE and Code Editor for Software Developers and Teams (microsoft.com) 3. Visual Studio Code Visual Studio: IDE and Code Editor for Software Developers and Teams (microsoft.com) 4. Uno Platform Project Template Uno Platform Solution Templates – Visual Studio Marketplace 5. Microsoft Graph .NET SDK NuGet Gallery | Microsoft.Graph 4.10.0 6. Microsoft Identity Client Package NNuGet Gallery | Microsoft.Identity.Client 4.38.0 7. Mac OS macOS Monterey – New Features – Apple 8. Azure Portal AAD App registrations App Reg- Microsoft Azure The repo can be found in Uno.Samples : https://github.com/unoplatform/Uno.Samples/tree/master/UI/UnoSQLiteOneDriveInvoiceSample In part one of this series, I explained how to create a local data store using SQLite .NET and populating the database with fake data using Bogus.NET. In this article, I will be going through the steps need to securely sync the database created in the previous article with OneDrive using the Microsoft Graph’s Files.ReadWrite.AppFolder permission. The simplest way to make access OneDrive in an Uno Platform app is to use the Microsoft Graph.NET SDK and the Microsoft Identity .NET package. To use these