Skip to Content
.NET MAUI Cookbook
book

.NET MAUI Cookbook

by Alexander Russkov
December 2024
Intermediate to advanced content levelIntermediate to advanced
384 pages
8h 17m
English
Packt Publishing
Content preview from .NET MAUI Cookbook

4

Connecting to a Database and Implementing CRUD Operations

How many apps on your phone don’t store information in some sort of database? Probably not many. Even simple apps, such as calculators, often save a history of operations.

Back in 2022, when .NET MAUI had its first official release, I built a simple .NET MAUI application. I was surprised to encounter noticeable lags despite the UI being relatively simple. After profiling the app, I discovered that the problem lay in how I was loading data from the database. In this chapter, I will describe how to avoid the issues I encountered and implement best practices for database communication.

In each recipe covered in this chapter, we will build on the project from the previous step. By the end ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET MAUI in Action

.NET MAUI in Action

Matthew Goldman
.NET MAUI Projects - Third Edition

.NET MAUI Projects - Third Edition

Michael Cummings, Daniel Hindrikes, Johan Karlsson

Publisher Resources

ISBN: 9781835461129Supplemental Content