This webinar and prism, specifically, has really helped me to start building WPF apps. I just wasn’t getting all of the inotify, commands, and ViewModel communication requirements for WPF MVVM. Prism has definitely made that so much easier to understand and implement.
I want to apologize to everyone that commented and did not get a reply. I was not notified of any of your comments since I do not own this account. If you ask a question try tagging me or contacting me directly.
+Brian Lagunas Is there a validator implementation in prism 6? i'm currently using the one found at this link www.pluralsight.com/blog/software-development/async-validation-wpf-prism , but i wondered if there's a native implementation that handles that... I'm using WPF btw
+Gabriel Duarte No, not yet. We have been considering added something based on the article you linked to, but we just haven't got around to deciding if this is something we should add or not.
+Brian Lagunas Cool, i think it would be really great to have this built in the framework. In regards the article, i saw that you have courses in that same site. I have managed to get the solution to work, but the article says that were some extra stuff in the complete sample project, and the sample redirects to "www.pluralsight.com/blog". Do you know perhaps where it can be downloaded?
Best MVVM video content so far. I just started learning Prism based on this video. However, I encountered a problem at 44:09 , navigation between views. When I clicked ViewA-button, the ViewA content is empty. What I have tried: - checked my code multiple times - copy-paste all codes (App, Bootstrapper, UpdateEvent, ViewA, ViewB and MainWindow) from InfragisticsWebinarSimpleMVVMPrism in github. Still I don't know why clicking those buttons don't show anything. I appreciate any help to get good start with Prism ;) Using: Visual Studio Community 2017 Version 15.7.2 Prism.Core version 7.0.0.396 Prism.Unity version 6.3.0 Prism.Wpf version 6.3.0 Unity version 4.0.1
sir this is awesome tutorial I am working wpf only using mvvm now i am very much familiar prism this is nice and excellent sir thanks given to awesome tutorial
Hi Brian, is there a way to tune UI when using assemblies modules (as on 1:14:00)? We will see that components only durin runtime. Is there a way to tune margins etc, and appearence - resources dictionary during design?
Great Tutorial, i've been working on learning MVVM for a couple of weeks, and i think this will make it a bit easier using Prism 6.0. I have a small problem with the UpdateEvent parsing the message from ViewAViewModel to ViewBViewModel. It doesn't seem to work if I have not visited ViewB, I assume this is because the ViewBViewModel has not yet been instantiated until the view for it has been loaded at least once. Anybody got any ideas on this, I assume instantiating all viewmodels before they're needed is a bad idea, so how can you get default information into a viewmodel from other viewmodels before it's been instantiated?
Brain, I know you've probably been asked this question ad nauseum but, do you have a time frame when a new Introduction to Prism v 6.0 will be available on Pluralsight? Really love to get a step by step full course on how to implement the newest version of Prism. I've been using Mvvm-light for such a long time that I fear jumping into Prism will become quite complicated. But I have a huge project that requires modules/plugins and Prism seems to be the best option. I've downloaded the examples from GitHub (which will be useful) but I'd love to watch a full course on the subject if possible.
Great Video.Very helpful.I have a question about EvenAggregator. Doesn't it break the encapsulation,the only factor which differentiates events and delegates.Could you also explain how to unsubscribe an event using EvenAggregator.
I am new to MVVM and Prism and your video helped me a lot. Thank you. What I would like to do is display a ViewModel at startup without having to press any buttons. Can you please advise me on how to change your PrismDemo to display ViewA without having to click on the button?
Great video. Thank you! I exactly did what you've shown in the video however I'm unable to navigate to views from the MainWindow. The uri is being properly received in MainWindowViewModel in the Navigate method.Yet nothing happens on _regionManager.RequestNavigate("ContentRegion", uri); Any suggesions?
Venkat Raghavan Make sure you have registered your view for navigation with the container something like Container.RegisterType("SomeName"); ALso, you can get the sample code here: brianlagunas.com/infragistics-webinar-mvvm-made-simple-with-prism-sample-code/
+Brian Lagunas I am having the same problem, when your code runs InitalizeComponet() under MainWindow.cs it opens an instance of MainWindowViewModel, then it runs Bootstrapper. When my code runs is skips MainWindowViewModel and goes to Bootstrapper. do you have any ideas why this would happen?
+James Tays After doing some more debugging i found out that MainWindow has to be in the namespace WPFApplication1.Views you have to manually add it to the .Views for the ViewModelLocator to know to look for that.
+James Tays That's correct. You can read about the conventions here: brianlagunas.com/getting-started-prisms-new-viewmodellocator/ There are some small changes in Prism 6, such as the removal of the IView interface, but the rest is same.
+Brian Lagunas When I even copy everything from the working demo to a demo of my own return Container.Resolve(); is hit, but it never links the ViewModel - what I am missing here? Someone told me that ViewModelLocator only work with UserControls and not Windows. Have been racking my brain for 5hrs on this on part. Feel like I am crazy.. :(
thanks for this tutorial what about prism for winrt or universal apps i can figure it out i am stack with prism for uwp please make us a tutorial prism for uwp thanks
+Brian Lagunas I am attempting to get this working (Prism 6), but I am not having any luck. It looks like when my application launches, the MainWindowViewModel is never constructed (IE, my commands are never initialized). How is it that your program is initializing the DelegateCommand without an empty constructor? I keep going through the video, but I cannot tell what mechanism is creating the MainWindowViewModel. Disregard. It looks like this happened because I changed the name of the MainWindow and the "Application.Current.MainWindow.Show();" in the Bootstrapper.cs did not like it.
can you tell me, why did you choose pluralsight for tutorials ? this project was open to everyone and the documentation was also enough for anyone to start. now people have to buy the tutorials. do you think that it is ethical ?
I am not here to prove myself to you. but i am no where near to a beginner. I also maintain a couple of open source projects. If you cant handle an open source project financially, then dont do it. hand over it to someone who can do that. none of the things you say make sense. I might as well take a project, dont do any tutorials or documentation and sell the tutorials. good idea though. so why did you take over the project then ? at microsoft they did everything for free. you could also say no to the project.
Hey Brian, thanks for this. Really interesting video I have learnt a lot. A couple of questions if I may. I'm using version 6.2 of the Prism Core, I was following along in Visual Studio as you went through the examples the video but I cannot get the prismprop code snippet to work. It does not show up in the list and seems not to exist?! Has it been removed from v6.2.0? Also where you change the details of the prismprop code, it appears that after you change the first line to 'last updated' the get and set lines update automatically to reflect the change. I am not experiencing this. .. Is this a resharper feature or should I be able to get VS to do the same for me?
More PLEASE! This was extremely helpful and i can't wait for the full release of version 6. Is there anymore (maybe advanced) videos like this one on Prism v6?
It's one of the best videos about WPF, MVVM and C# ever. Super understandable. Even for russianspeaking person like me.
I had never been so excited for my future of learning WPF. This video opens up a lot possibilities for me. Thank you!
This webinar and prism, specifically, has really helped me to start building WPF apps. I just wasn’t getting all of the inotify, commands, and ViewModel communication requirements for WPF MVVM. Prism has definitely made that so much easier to understand and implement.
I want to apologize to everyone that commented and did not get a reply. I was not notified of any of your comments since I do not own this account. If you ask a question try tagging me or contacting me directly.
+Brian Lagunas Is there a validator implementation in prism 6? i'm currently using the one found at this link www.pluralsight.com/blog/software-development/async-validation-wpf-prism , but i wondered if there's a native implementation that handles that... I'm using WPF btw
+Gabriel Duarte No, not yet. We have been considering added something based on the article you linked to, but we just haven't got around to deciding if this is something we should add or not.
+Brian Lagunas Cool, i think it would be really great to have this built in the framework. In regards the article, i saw that you have courses in that same site. I have managed to get the solution to work, but the article says that were some extra stuff in the complete sample project, and the sample redirects to "www.pluralsight.com/blog". Do you know perhaps where it can be downloaded?
+Gabriel Duarte I would reach out to Brian Noyes on twitter (@briannoyes). He is the author of the article and may be able to get you the full sample.
Best MVVM video content so far. I just started learning Prism based on this video. However, I encountered a problem at 44:09 , navigation between views.
When I clicked ViewA-button, the ViewA content is empty.
What I have tried:
- checked my code multiple times
- copy-paste all codes (App, Bootstrapper, UpdateEvent, ViewA, ViewB and MainWindow) from InfragisticsWebinarSimpleMVVMPrism in github.
Still I don't know why clicking those buttons don't show anything. I appreciate any help to get good start with Prism ;)
Using:
Visual Studio Community 2017 Version 15.7.2
Prism.Core version 7.0.0.396
Prism.Unity version 6.3.0
Prism.Wpf version 6.3.0
Unity version 4.0.1
sir this is awesome tutorial
I am working wpf only using mvvm
now i am very much familiar prism
this is nice and excellent sir thanks given to awesome tutorial
Thank you Brian. This is brilliant video from which one can learn really so many things. Watched it two times and still sometimes getting back to it
Thanks only a few minor changes from v6 to v8 but got the message and using it in my latest project, thanks
59:55 how is my object collected by the garbage collector if something still has a reference to it?
Great video about MVVM & PRISM. Thank you.
+Hiren Bharadwa Thanks for watching
Hi Brian, is there a way to tune UI when using assemblies modules (as on 1:14:00)? We will see that components only durin runtime. Is there a way to tune margins etc, and appearence - resources dictionary during design?
Great video. I followed all the steps and my app works except that VIEWB must first be loaded (displayed) before ViewA can pass a parameter to it.
I wish I knew this before working in a WPF project without any tool like this!!!
Great Tutorial, i've been working on learning MVVM for a couple of weeks, and i think this will make it a bit easier using Prism 6.0.
I have a small problem with the UpdateEvent parsing the message from ViewAViewModel to ViewBViewModel. It doesn't seem to work if I have not visited ViewB, I assume this is because the ViewBViewModel has not yet been instantiated until the view for it has been loaded at least once.
Anybody got any ideas on this, I assume instantiating all viewmodels before they're needed is a bad idea, so how can you get default information into a viewmodel from other viewmodels before it's been instantiated?
+happycamel8666 The only way to do it is to pass that information as a parameter when you navigate to ViewBViewModel.
Brain, I know you've probably been asked this question ad nauseum but, do you have a time frame when a new Introduction to Prism v 6.0 will be available on Pluralsight? Really love to get a step by step full course on how to implement the newest version of Prism. I've been using Mvvm-light for such a long time that I fear jumping into Prism will become quite complicated. But I have a huge project that requires modules/plugins and Prism seems to be the best option. I've downloaded the examples from GitHub (which will be useful) but I'd love to watch a full course on the subject if possible.
Great Video.Very helpful.I have a question about EvenAggregator. Doesn't it break the encapsulation,the only factor which differentiates events and delegates.Could you also explain how to unsubscribe an event using EvenAggregator.
I am new to MVVM and Prism and your video helped me a lot. Thank you. What I would like to do is display a ViewModel at startup without having to press any buttons. Can you please advise me on how to change your PrismDemo to display ViewA without having to click on the button?
Doesn't Infragistics have its own button control?
Brian, any UWP samples? I'm having to use PRISM for work, I've normally just implemented my own Containers, commands etc.
What about IRegionManager, Application throws an error: IRegionManager is an interface and cant be resolve
Brian, I was curious, does Prism have implementations for IChangeTracking and IEditableObject build upon the base BindableBase?
+Tielc No, it doesn't
Great video. Thank you!
I exactly did what you've shown in the video however I'm unable to navigate to views from the MainWindow. The uri is being properly received in MainWindowViewModel in the Navigate method.Yet nothing happens on _regionManager.RequestNavigate("ContentRegion", uri);
Any suggesions?
Venkat Raghavan Make sure you have registered your view for navigation with the container something like Container.RegisterType("SomeName"); ALso, you can get the sample code here:
brianlagunas.com/infragistics-webinar-mvvm-made-simple-with-prism-sample-code/
+Brian Lagunas I am having the same problem, when your code runs InitalizeComponet() under MainWindow.cs it opens an instance of MainWindowViewModel, then it runs Bootstrapper.
When my code runs is skips MainWindowViewModel and goes to Bootstrapper. do you have any ideas why this would happen?
+James Tays After doing some more debugging i found out that MainWindow has to be in the namespace WPFApplication1.Views you have to manually add it to the .Views for the ViewModelLocator to know to look for that.
+James Tays That's correct. You can read about the conventions here: brianlagunas.com/getting-started-prisms-new-viewmodellocator/
There are some small changes in Prism 6, such as the removal of the IView interface, but the rest is same.
+Brian Lagunas When I even copy everything from the working demo to a demo of my own
return Container.Resolve(); is hit, but it never links the ViewModel - what I am missing here?
Someone told me that ViewModelLocator only work with UserControls and not Windows. Have been racking my brain for 5hrs on this on part. Feel like I am crazy.. :(
thanks for this tutorial
what about prism for winrt or universal apps
i can figure it out
i am stack with prism for uwp
please make us a tutorial prism for uwp
thanks
great video and knowledge. Also thank you for demoing resharper. haha
+Chris H Thanks for watching
+Brian Lagunas I am attempting to get this working (Prism 6), but I am not having any luck. It looks like when my application launches, the MainWindowViewModel is never constructed (IE, my commands are never initialized). How is it that your program is initializing the DelegateCommand without an empty constructor?
I keep going through the video, but I cannot tell what mechanism is creating the MainWindowViewModel.
Disregard. It looks like this happened because I changed the name of the MainWindow and the "Application.Current.MainWindow.Show();" in the Bootstrapper.cs did not like it.
can you tell me, why did you choose pluralsight for tutorials ? this project was open to everyone and the documentation was also enough for anyone to start. now people have to buy the tutorials. do you think that it is ethical ?
I am not here to prove myself to you. but i am no where near to a beginner. I also maintain a couple of open source projects.
If you cant handle an open source project financially, then dont do it. hand over it to someone who can do that. none of the things you say make sense. I might as well take a project, dont do any tutorials or documentation and sell the tutorials. good idea though.
so why did you take over the project then ? at microsoft they did everything for free. you could also say no to the project.
rockerirwin I'm not going to argue. Nothing changes. Either use Prism or don't. Good luck.
Thank you for the awesome video.
1:11:35
Mark what?
Hey Brian, thanks for this. Really interesting video I have learnt a lot.
A couple of questions if I may.
I'm using version 6.2 of the Prism Core, I was following along in Visual Studio as you went through the examples the video but I cannot get the prismprop code snippet to work. It does not show up in the list and seems not to exist?! Has it been removed from v6.2.0?
Also where you change the details of the prismprop code, it appears that after you change the first line to 'last updated' the get and set lines update automatically to reflect the change. I am not experiencing this. .. Is this a resharper feature or should I be able to get VS to do the same for me?
Thanks...You're a life saver
Excellent Video
More PLEASE! This was extremely helpful and i can't wait for the full release of version 6. Is there anymore (maybe advanced) videos like this one on Prism v6?
+Tech Tadashii-Ching I have a lot of advanced courses on Pluralsight about Prism. Check them out here: app.pluralsight.com/author/brian-lagunas
+Brian Lagunas Link saved. Thanks Brian!
@Brian Thanks
plz provide source code also
video pic very small
Thank you very helpful :-)
HAHA love the Visual Studio FAIL @ around 16.
UnityBootstraper is obsolate.