From the course: Creating .NET MAUI Applications with Blazor
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Storing local data: Part 1 - .NET MAUI Tutorial
From the course: Creating .NET MAUI Applications with Blazor
Storing local data: Part 1
- [Instructor] For client side applications, such as we are likely to make with Blazor Hybrid and MAUI, it is very common to need data to save across sessions and be available when the user's offline. The most common way to deal with this for structured storage within Blazor MAUI is the same as a standard MAUI app, SQLite. SQLite is a reasonably powerful client side database technology that supports transactions, indexing, and SQL syntax. There are several solutions to encrypt data, such as SSE and SQLCipher. However, this may not be needed for mobile applications if the data is stored in app local storage. If we plan on sharing code with a Blazor web assembly application, we would need a solution for structured storage there too. Since W3C depreciated WebSQL, the official answer is IndexedDB for structured storage. IndexedDB offers a full client side database experience with tables, indexes, and transactions. Unlike…
Contents
-
-
-
-
-
A single website to rule them all4m 11s
-
(Locked)
How about native APIs?6m 48s
-
(Locked)
Razor Class Libraries5m 52s
-
(Locked)
Handling UI differences between website and app9m 50s
-
(Locked)
Storing local data: Part 14m 55s
-
(Locked)
Storing local data: Part 29m 49s
-
(Locked)
Issues around keeping your app up to date3m 30s
-
(Locked)
The HTML5 service worker and WebAssembly4m 33s
-
(Locked)
Challenge: Implementing IndexedDB1m 56s
-
(Locked)
Solution: Implementing IndexedDB5m 2s
-
-
-