8
Storing and Retrieving Data
You now have all the fundamentals to create and navigate pages, layouts, and the controls used to populate pages. Congratulations! You are now a .NET MAUI programmer.
This chapter begins the intermediate section of the book, in which you will see how to store and retrieve data and then create unit tests – both critical aspects of writing real-world and, especially, enterprise apps.
Programs interact with data, and most need to store that data after an app closes and restore it as needed when the app resumes. In this chapter, we will consider two variations on this – long-term persistence of user preferences and long-term database storage.
We will cover the following topics in this chapter:
- Storing user preferences ...
Get .NET MAUI for C# Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.