Booking options
£82.99
£82.99
On-Demand course
7 hours 32 minutes
All levels
This beginner to the intermediate-level course on .NET MAUI mobile application development enables you to advance your Visual Studio coding skills and implement interfaces using XAML. Learn to develop and publish Minimal API with .NET Core using event driven development while understanding logic and syntax when working on the .NET environment.
The .NET multi-platform app UI is a cross-platform framework to create innovative mobile and desktop applications with C# and XAML. One can develop apps using .NET MAUI that runs on Android, iOS, macOS, and Windows and add platform-specific source code and resources. As part of learning in this course, you will begin with a cursory introduction to the .NET MAUI concepts and features and their applications. You will learn.NET MAUI basics and design a simple API with the .NET Core. Next, you will learn to use an API in a .NET MAUI application, understand XAML controls, and write clear syntax. You will then learn to implement styles in a .NET MAUI application and utilize the MVVM (Model-View-ViewModel) pattern with the MVVM community toolkit. You will learn to use SQLite with a random mobile application. You will also learn to secure a mobile app using authentication and authorization protocols. Finally, you will learn to create your first Minimal API. Upon completing the course, you will comprehensively learn to create your mobile applications using .NET MAUI. You will independently advance your Visual Studio coding skillsets and learn to build innovative mobile apps using .NET MAUI. All resources are available at: https://github.com/PacktPublishing/Mobile-Development-with-.NET-MAUI
Build interfaces with XAML (Extensible Application Markup Language)
Develop and publish Minimal API with .NET Core
Use various MAUI controls and MAUI layouts
Use the MVVM pattern and community toolkit
Implement .NET MAUI authentication
Utilize an API in .NET MAUI app and secure it using JSON web tokens
This course is aimed at anyone interested in learning .NET MAUI and making cross-platform mobile applications. To take this course, you will need to know C#. Even if you do not have much exposure to the .NET development stack, this course is beginner-friendly and offers many development tips. You will also need a capable machine to run Visual Studio 2022 and mobile emulators.
The course content is deftly constructed to educate and let you understand all related activities in each module on the application being built. You will also work on troubleshooting and debugging as you advance. You will implement best practices and write efficient, logical code. You will acquire knowledge step-by-step throughout the course and be challenged to be the best you can be.
Learn .NET MAUI basics, design simple APIs with .NET Core and consume an API using .NET MAUI * Create XAML controls and syntax and implement styles in a .NET MAUI application * Learn about the MVVM pattern using the MVVM community toolkit
https://github.com/PacktPublishing/Mobile-Development-with-.NET-MAUI
Trevoir Williams is a software engineer and part-time lecturer. With a master's degree in computer science, he has spent over a decade teaching web, software, and database development courses. He also has extensive industry experience in web application development, Azure Cloud system, and server administration. He enjoys teaching IT and development courses and hopes to impart knowledge of the latest developments in industry standards and techniques to his students.
1. Introduction
This section focuses on introducing an outline of the course objectives and the .NET MAUI concepts briefly.
1. Introduction In this video, the author introduces the course objectives and the concepts of .NET MAUI mobile development. |
2. Environment Setup
This section focuses on the environment setup for the MAUI functioning.
1. Setup Development Environment This video demonstrates a step-by-step process of installing and setting up the various programs and environments for the working of .NET MAUI. |
3. Create Your First .NET MAUI APP
This section focuses on the .NET MAUI app creation, creating controls with XAML, understanding the layouts, and setting and defining values.
1. Create Controls with C# In this video, you will learn how to create controls using the C# program. |
2. Create Controls with XAML After learning to create controls using the C# program, in this video, you will learn to recreate that using the XAML code. |
3. Understand MAUI Layouts In this video, you will learn to create a new content page and understand the layout structure of MAUI. |
4. Set Global Markup Values In this lesson, you will learn about the Extensible Application Markup Language extension and set aside labels. |
5. Define Platform-Specific Values Here, you will learn about platform-specific markup and look at device configurations that determine the app's performance. |
6. Shared Resources This video demonstrates sharing resources that are not coupled with any one type of control. |
7. Navigating Multiple Pages In this video, we will look at playout navigation, a window we created for the mini-icon that slides from the side into the center. |
8. Section Summary This video briefly outlines and recapitulates what you learned through the lessons of this section. |
4. Create a Car Listing APP (MVVM and CRUD)
This section focuses on creating a car listing application using the MVVM and CRUD models.
1. Section Overview This section outlines what you will learn in this section, including navigation properties, different layouts, and the MVVM and CRUD models. |
2. Setup .NET MAUI Project In this video, you will learn to set up the .NET MAUI project and create a global JSON file to begin the project. |
3. Create Data Model In this lesson, we are going to set up our data model in which we are going to store the elements of the data. |
4. Create Data Access Services In this video, we will create a data access service class that will behave as the transporter for the application data store and the actual application. |
5. MVVM Toolkit Updates In this lesson, we will look at the updates from the 8.0.0 Preview 4 regarding the changes in the class names. |
6. Understanding the MVVM Pattern In this video, you will learn to create our view model. You will learn to create an abstract base class, which acts as the transmitter of the properties' inheritance to the rest of the classes. |
7. Set Up View Model and Command In this lesson, you will learn to set up the view model for the car listing case called the "CarListViewModel". |
8. Understanding Dependency Injection You will learn about dependency injections that link one base class to another and how it is facilitated in the .NET MAUI app. |
9. Implement Data Template and Collection View In this video, you will learn how to decide on the user interface for our application. We will create a template and a collection view. |
10. Style Our List Page View This video demonstrates how to improve the aesthetics of the application interface that we created in the previous lesson. |
11. Implement a Details Page In this video, you will learn about implementing the details page and understand the syntax used step by step. |
12. Exploring Storage Options In this video, we will look at the different options for storage, the most suitable option, and when it would be the most suitable option to use. |
13. Add SQLite Database to App This video demonstrates how to set up our SQLite database to the application we created to store the data in the data model. |
14. Setup Form to Add and Delete Records This lecture takes us through the process of setting up a form to input data into the database, and you will also learn how to add and delete records from the database. |
15. Section Summary In the final video of this section, we will briefly recapitulate what we have learned so far and brush up on the skillsets learned. |
5. Develop Supporting API
This section focuses on using Restful API to complement our mobile application. We will look at setting up databases, setting up the CORS policy, configuring the endpoints, and publishing the API to a local server.
1. Section Overview This video demonstrates how we will begin to use the Restful API to complement our created mobile application. |
2. Setup API Project In this video, you will learn how to set up our API project. We will choose to build using the .NET Core Web API. |
3. Setup CORS Policy In this lesson, we will look at setting up Cross Origin Resource Sharing (CORS), which will be used whenever a device accesses an API across the network. |
4. Setup Database In this video, we will delve deeper into configuring our database as APIs will have their database and are the point of information or point of reference to any third-party application. |
5. Configure API Endpoints In this video, you will learn what an API endpoint is and how to create the API endpoints, which uses the MAP function with the verb (get, put, delete, for) of choice to run the function. |
6. Test API Functions Here, you will learn about testing and running the API functions we created on the mobile application using Postman. |
7. Prepare Server for API Deployment To deploy the API we created smoothly, we will look at some of the housekeeping functions we would need to indulge in and then run the API. |
8. Refactor and Publish API To Local Server In this video, we will consider the factors before publishing our API to a local server and other configuration considerations to take when developing an API against an Android emulator. |
9. Configure Mobile App for Network Connections In this lesson, we will examine a few explanations of how our emulators work and consider the configurations based on that. |
10. Refactor MAUI App for API Here, you will learn to refactor our mobile application to communicate with the API. You will also learn to create additional API services to enhance the mobile app. |
11. Essential Fixes In this video, you will learn to fix errors arising when we test our API by running it, then identify the errors and fix them. |
12. Section Summary This video summarizes what we learned through the section and looks at some of the intricacies of API connectivity relative to Android versus other devices. |
6. Authentication Flow
This section focuses on multiple processes. You will learn about the different navigational properties and different layouts. We will also look at the MVVM pattern and how it can be implemented.
1. Section Overview This video briefly outlines what you will learn in this section, including authentication and authorization, creating login pages, and setting up a secure logout system. |
2. Add Identity to API In this lesson, you will learn to add support for the authentication leverage for an API. We will use the Identity library that is built into the system. |
3. Set Up Login Endpoint Here, we will understand how to create a login endpoint. You will learn how to receive the login information and how to validate it. |
4. Add App Loading Page We will look back at the .NET MAUI app and create two pages: the application loading page and the application login page. |
5. Add App Login Page In this video, you will learn to add an application login page and look at the activity that needs to happen before the login is executed. |
6. Seed Users and Roles After creating the login page, you will learn to populate the seed users and define their roles in the system. |
7. Authentication and Authorization to API In this lesson, you will learn to set up the configuration as needed to govern the issuance and valuation of our access tokens. |
8. Set Up JSON Web Token Generation In this lesson, we will focus on generating an access token and ensuring that the content of the token is readable. |
9. Set Up Login Logic and Flow In this lesson, we will look back at our .NET MAUI app and outfit it with logic to handle, login, and manage the login flow by extending the API access. |
10. Adjust App Flow and Layout Here, you will learn to modify the user interface. You will learn to navigate through the login and main pages and simulate the content displayed based on the roles of the seed users. |
11. Handle Logout In this lesson, we will look at handling the logout operations. You will learn to add a logout operation and a logout button to allow the seed users to log out at will. |
12. Section Summary This final video will recap the concepts we have learned in this section, including creating logins and logouts, seeding users, creating default admins, and handling the login and logout flows. |