Building the photo gallery app
This project, like all the rest, is a File | New | Project...-style project, which means that we will not be importing any code at all. So, this first section is all about creating the project and setting up the basic project structure.
It’s time to start building the app using the following steps. Let’s begin!
Creating the new project
The first step is to create a new .NET MAUI project:
- Open Visual Studio 2022 and select Create a new project:
Figure 6.1 – Visual Studio 2022
This will open the Create a new project wizard.
- In the search field, type in
maui
and select the .NET MAUI App item from the list:
Figure 6.2 – Create a new project
- Click Next.
- Complete the next step of the wizard by naming your project. We will be calling our application
GalleryApp
in this case. Move on to the next dialog box by clicking Next, as shown...