Tag Archives: MAUI

Advanced .NET MAUI Topic: Visual State

With the release of my newest book, .NET MAUI For C# Developers, I’m pleased to present occasional posts on advanced topics. If you are just starting out, however, you may want to take a look at my previous 15 part … Continue reading

Posted in .NET MAUI | Tagged , , | Leave a comment

.NET MAUI Forget Me Not – Part 6.5

I have posted the (incomplete) code at https://github.com/jesseliberty/GraniteStateForgetMeNot and a video of much of the material captured in this series is now on YouTube

Posted in .NET MAUI, Mini-Tutorial | Tagged , , | 1 Comment

.NET MAUI – Forget Me Not – Part 6

Building on the previous postings, today I want to discuss the magic of Dependency Injection (DI) Dependency Injection makes for cleaner and more testable code. We’ll get into testing and Mocks in a later blog post, but using DI allows … Continue reading

Posted in Essentials | Tagged , , | Leave a comment

Learning .NET MAUI – Part 15 – SQLite

As an experienced XF programmer, you know that there are times you need a relational database, and SQLite has been the mobile db of choice for a very long time. In this post we’ll create a table in SQLite and … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 13

In this post we’ll do three things: Add a clear button to clear out the list of zip codes Add the Connected service to make sure we have internet connection before trying to get the zip codes Add the IMap … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 12

We left off displaying the zip codes and going to the details, but not displaying the selected zip code. Let’s fix that and clean some things up. Choosing from the list and displaying the details In the previous version we … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 11

This one should be short. We’re going to take a look at passing values when navigating. Passing in values requires that you pass a Dictionary, where the key is an arbitrary string and the object is the value you are … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 10

Let’s take a quick look at simple navigation (in the next post we’ll look at some more you can do with navigation. As usual, we’ll start with the previous day’s code. To get started, we’ll add a button to the … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 9

Once again, we’ll pick up where we left off. But today we’re in for some big changes. Let’s add an IsBusy property to use in the MainViewModel. We’ll use the same trick we did with _resultList: Let’s further assume you … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 8

Busy week, so this one will be short. I’ve taken the code from Part 7 and copied it into Part 8. The source for 8 is here. So, what’s new? The most important improvement in 8 is the addition of … Continue reading

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 7

Let’s pick up where we left off in the previous blog post, but it is time to clean up the app to use MVVM. First step: create a ViewModel folder and in that put two files: MainViewModel ViewModelBase

Posted in Essentials | Tagged , | Leave a comment

Learning .NET MAUI – Part 6

I’m going to start off where we were at the end of Part 5, but this time instead of creating two labels (for State and Zip) I’m going to create one label with MultiBinding: <Label VerticalOptions=”Center”> <Label.Text> <MultiBinding StringFormat=”{}{0} | … Continue reading

Posted in Essentials | Tagged , , | Leave a comment