
Learn how to apply the MVVM pattern in .NET MAUI to build real-world mobile apps, with practical guidance, foundational knowledge, and a clear path from basics to advanced concepts.
Create a .NET MAUI project in Real Studio with the Dotmobi app template, named Real estate app, and select dotnet eight as the target framework to generate the project structure.
explain why the mvvm pattern is essential for dotnet mobile apps, showing how code-behind handling and navigation create tight coupling. place logic in the viewmodel for modular, maintainable apps.
Master the MVVM pattern by understanding the model, view, and viewmodel, and how data binding connects the view to the viewmodel for a responsive, maintainable user interface.
Explore how MVVM separates concerns to keep UI and business logic clean, enabling code reusability and testability. See data binding streamlines UI updates and improves maintainability across views.
Learn how commands power interactions in mvvm for dot net maui, keeping the view's code-behind clean and decoupled while handling buttons, gestures, menus, and list views.
Implement commands in a .NET MAUI MVVM app by wiring a sign in command to the login button, binding the view model, and organizing project folders.
Learn to pass data from the view to the view model by binding the login entry text to the public username property in the login view model.
Implement the INotifyPropertyChanged interface in the login view model, bind the username property to the entry and label, and raise property changed to update the label in real time.
Install the MVVM Community Toolkit for .NET MAUI via NuGet and license acceptance, then begin using it to streamline login viewmodel code in the next lesson.
Explore the Dot Maui Community Toolkit MVVM package to implement observable objects with INotifyPropertyChanged, use the observable property attribute, and auto generate username binding in the login view model and XAML.
Learn to create relay commands with the Community Toolkit MVVM, decorate a login method with the relay command attribute, bind the generated login command in XAML, and compare code simplicity.
Build a real estate app with dotmobi and MVVM in .NET MAUI, from register and login to a home page with search, categories, and property details.
Download the repository code from GitHub, unzip it, and open the ASP.NET Core project in Visual Studio to consume the REST APIs inside the Dotmobi mobile app.
Create an Azure web app by selecting a resource group, a unique name, and the dotnet eight runtime, then enable authentication and download the publish profile.
Create an Azure SQL Database and server in the same resource group, with SQL authentication and admin password, configure pricing tier and firewall to publish your web app.
Publish your asp.net core web application to Microsoft Azure by updating appsettings with the Azure SQL connection string, configuring the publish profile, and deploying a self-contained deployment that runs live.
Download the api documentation file, import it into postman, and explore the real estate api endpoints under the users, categories, and properties in the collection.
Configure and test user endpoints in postman by registering a new user, then log in to obtain an access token and access secured APIs with that token.
Learn to call the categories endpoint with a get request, obtain an access token from the login endpoint, and pass it in the authorization section to fetch the categories.
Navigate the properties endpoints in a .NET maui mvvm course, testing properties list, property detail, trending properties, and search properties with get requests, authorization tokens, and a web app URL.
Create C sharp model classes for users and categories from JSON data by using postman endpoints, generating register, login, token, and category models with Pascal case and Newtonsoft.json.
Create property models by converting endpoint JSON into C# classes, including property list, detail, trending, and search properties, then prepare to add a service class in the next lesson.
Create an API service to handle RESTful user registration. Use an HTTP client and Newtonsoft.Json serialization for a post request, returning true on success or false on failure asynchronously.
Make the register user method static to allow direct calls via the class name, avoiding the need to instantiate the app service for access.
Create a login method that authenticates users with email and password to obtain an access token, deserialize the response, and store the token, user id, and username in preferences.
Centralize the api url in a new app settings class with a public static field, and update register and login to use it via string concatenation for easier maintenance.
Create a get categories method in .NET MAUI, fetch categories via categories API endpoint using a bearer token from isolated storage, and deserialize JSON to a list of category objects.
Develop methods to interact with property endpoints in our API, including training properties, search properties by address, get properties by category, and property detail responses.
Download assets folder and copy all images into the project's images folder under resources. Reuse these images in the .NET MAUI MVVM project as you continue to the next lesson.
Explore legacy and shell based navigation in dotnet maui, implement push async and pop async for page transitions, and register routes in the app shell to enable seamless navigation.
Implement shell-based login and register flow in a .NET MAUI MVVM app, bind email and password, call API login, and navigate to home tabbed page with home, bookmarks, and settings.
Copy the login view model to a register view model, bind the registration page to it, and implement observable properties (name, email, password, and phone) with register and login commands.
Implement a one-time login with an access token by storing it in preferences and isolated storage, then navigate to home page and clear the navigation stack when a token exists.
Master Real World App Development with .NET MAUI and MVVM
Welcome to the ultimate course on Real World App Development with .NET MAUI, where you'll learn to create powerful, scalable applications using the MVVM pattern.
I’m Asfend, a Microsoft Most Valuable Professional (MVP) and Xamarin University Most Valuable Professional. In this course, I’ll guide you through every essential aspect of building a .NET MAUI application with MVVM, ensuring you gain the skills needed to succeed.
Why Enroll in This Course?
This course is meticulously crafted to teach you how to seamlessly integrate the MVVM pattern into your .NET MAUI applications. Each module is designed to be concise and practical, providing you with the knowledge to:
Develop robust MVVM-based applications.
Implement Commands, Navigation, and INotifyPropertyChanged.
Master Shell-based navigation in MVVM.
Utilize CollectionView for effective data presentation.
Leverage the power of MAUI Community NuGet packages.
Build a fully-functional Real Estate Application from scratch.
Consume REST APIs within MVVM architecture.
And much more!
What You Need to Know Before You Start
To get the most out of this course, a solid understanding of C# and XAML is essential. Familiarity with .NET MAUI or Xamarin Forms is also required.
Important Note
In this course, we’ll be using a Windows machine for development. If you have a Mac, you'll be able to test both Android and iOS applications. However, if you're on Windows, you'll be limited to Android testing. Don’t worry—everything you learn here is cross-platform, and the code will run seamlessly on Android, Windows, and iOS.
What You’ll Receive
Full access to all the source code used throughout the course.
Helpful materials including code snippets and assets.
A streamlined learning experience designed to maximize your time and keep you engaged.
I understand that your time is valuable, which is why this course is designed to be efficient, helping you master .NET MAUI in the shortest time possible.
Ready to Get Started?
Don’t miss out on this opportunity to elevate your app development skills. Click the "Buy Now" button and join the .NET MAUI App Development Course with MVVM today. Let’s start building something amazing together!