Client Project Setup (.NET MAUI!) - FULL STACK .NET TUTORIAL (BUGPORTER) #5

preview_player
Показать описание
Learn how to create a .NET MAUI project with dependency injection and essential MVVM concepts.

In this series, we'll create a full stack .NET application with:
⚡ Azure Functions
💎 .NET MAUI
🔥 Firebase Authentication
⭐ and much more!

Our application, called "Bugporter", will allow users to report bugs in an application. We'll be developing Bugporter as a standalone, full stack application. However, I'd eventually like to make Bugporter a reusable component that any application can integrate with to allow users to report bugs.

🕗 Timestamps:
0:00 - Introduction
0:59 - Creating MAUI project
2:23 - Adding a view
4:46 - Adding a view model (w/ INotifyPropertyChanged)
8:58 - Connecting the view to the view model via dependency injection
11:34 - Organizing pages
12:33 - Extracting a base view model
14:20 - Scaffolding remaining pages
18:12 - Summary

➖➖➖➖➖➖➖➖➖➖

© Credits
Рекомендации по теме
Комментарии
Автор

Couple of questions for you.. Why not inject the relevant ViewModel class directly into the page instead of using Object. I do this and it works so I'm curious as to whether there are other benefits that I'm not aware of. Also simplifies the syntax using AddTransient as all it needs is the view and corresponding view model then the rest is as I said, resolved automatically without having to use lambas to access the service and then pass the view model to it. The other point was about using MVVM community but I just saw this was already highlight. Great work btw. Love watching your vids! Always interesting & well put together. Thank you. 😊

tfierens
Автор

Community Toolkit mvvm *exists*
People in 1900-s: *do I notify property changed manually*

pody
Автор

MAUI is a questionable choice, but good watch otherwise!

mariocamspam
Автор

MAUI is not production ready.

Microsoft needs to get there "shit" together and make WPF cross platform.

marcbotnope