Adding New Views - WPF MVVM NAVIGATION TUTORIAL #9

preview_player
Показать описание
Learn how to add new views to our navigation infrastructure. I demonstrate this by adding a simple list of people. The list of people appear on a separate page, and adding a new person to the list is done through a modal popup.

Navigation is an essential piece of an application. In this series, I demonstrate how to implement various navigation scenarios in a WPF MVVM application.

TIMESTAMPS:
0:00 - Introduction
0:16 - Demo Introduction
0:36 - Implementing Page Navigation
5:28 - Adding Functionality to the View/VM
8:30 - Implementing Modal Navigation
13:45 - Adding Functionality to the Modal View/VM
17:55 - Conclusion

OTHER LINKS:
Рекомендации по теме
Комментарии
Автор

You are amazing saw many tutorials about WPF using But none reach your level really your are a big resource in this Domain. That I have never seen. Thank you so much for your efforts.... And we will wait in the same Serie the best way to connect an existing database with this project.✌🏾✌🏾✌🏾✌🏾🙏🏾🙏🏾🙏🏾

elkhayyat
Автор

This series really help alot with sharpening my MVVM architecture knowledge base. Thanks alot.

katlegorambau
Автор

Hello there, Sean. Thank you for your MVVM courses! I made my own good WPF application thanks to you. Your courses about WPF & MVVM are the best on the youtube! Are you senior developer?

unknown_user
Автор

Hi SingletonSean, I learned a lot from yours courses and they are great all. Navigation is really important to understand but also very hard to accomplish. In this WPF MVVM NAVIGATION TUTORIAL #9 you show as how to add new person it would be good if you can add part where we can see hot to open selected item from listview and edit details. Thanks

bozoskopljakovic
Автор

I am totally new to DI and many other features that you have covered really well in these tutorials. I have manged to create an app using this frameowrk, but struggling for over 8 hours now on what I am sure is really simple. I want to use the submit command to close my modal and renavigate me to another view within the layout navigation service. I am using the stores etc, but I cannot seem to work out how to feed this in through DI. Sorry I am a real newbie. Thanks again for your great videos

davidcampbell
Автор

Your courses are the best!!~
I have a question.
There are two home views side by side on the main page, and I want to operate them independently, and I also want to apply the mvvm navigation you designed.
Could you make a course? please~~~

geonhunlee
Автор

Great series!

Bit of an odd question, but just wondering what font you using in Visual Studio?

meddler
Автор

Hey SingeltonSean ! I would first of all thanking you for the help that you are giving to the mvvm community.

When you mention in the minute 16:20 that you have forget to unsubscribe from the event in the Dispose method, you are totally correct, the fact that the PeopleListingViewModel object was transient 'defined in the Startup'. So all the past instances will unsubscribe from the event . But i have a question, when i debug in the Garbage Collector (~PeopleListingViewModel) i found that it will never be reached even if i renavigate to the viewmodel many times and adding the unsubscribe process in the Dispose method. Are they gonna affect my applciation (memory leak)? -- the transient object--

tarekjrd
Автор

Hi!!!.. thanks for you videos they are very gooooddd!! I'm followin the series, but skip #8 video about dependency injection???? Greeting from Argentina!!!!

nicoch
Автор

Hello Sean, Great tutorials. has been very helpful to me. I was wondering if you could show how you will handle can execute feature in the commands. I see you have a protected OnCanExecuteChanged method in the command base. I am confused how you will implement that. Making a video just for that could be too much work, so if you can just explain in the comment or point me to any documentation that could help. Greatly appreciate your content.

tanzib
Автор

wonderful video, Many thanks to you, So, if you'd made that video about organizing DI into another files, please get me a link, I tried by my self but I still didn't get it how to call it from another class file.

Hazem
Автор

It's a little bit hard for me to follow you, because I'm german and you talk a little bit fast for me old man. No worries - I just watched the videos twice. It's worth the time ;-)

rolandwatz
Автор

Ok this approach seems to be working well when you have a only unidirectional navigation. I wonder how would bi-directional would look like, if you want to do xxxNavService.Navigate() and then the xxx would know where did this NavService come from, so it could send it "back"... so far I haven't been able to come up with anything with this structure.. cause the receiving ViewModel has to be aware of who was the initiator of the navigation.

wvvwwwvvw