MVVM Made Simple with Prism - Webinar

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 63

  • @mbjuggernaut
    @mbjuggernaut 3 роки тому +3

    It's one of the best videos about WPF, MVVM and C# ever. Super understandable. Even for russianspeaking person like me.

  • @afterbunny257
    @afterbunny257 4 роки тому +5

    I had never been so excited for my future of learning WPF. This video opens up a lot possibilities for me. Thank you!

  • @ElCidPhysics90
    @ElCidPhysics90 Рік тому

    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.

  • @BrianLagunas
    @BrianLagunas 9 років тому +8

    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.

    • @gabeduarte
      @gabeduarte 8 років тому

      +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

    • @BrianLagunas
      @BrianLagunas 8 років тому +1

      +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.

    • @gabeduarte
      @gabeduarte 8 років тому

      +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?

    • @BrianLagunas
      @BrianLagunas 8 років тому +1

      +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.

    • @TamNguyen-ek8go
      @TamNguyen-ek8go 6 років тому

      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

  • @srinivasrapaka4729
    @srinivasrapaka4729 8 років тому +5

    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

  • @Gattuser
    @Gattuser 7 років тому +1

    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

  • @Michaelkaraz
    @Michaelkaraz 3 роки тому

    Thanks only a few minor changes from v6 to v8 but got the message and using it in my latest project, thanks

  • @rotacioskapa4251
    @rotacioskapa4251 Рік тому

    59:55 how is my object collected by the garbage collector if something still has a reference to it?

  • @hirenbharadwa419
    @hirenbharadwa419 9 років тому +1

    Great video about MVVM & PRISM. Thank you.

    • @BrianLagunas
      @BrianLagunas 9 років тому

      +Hiren Bharadwa Thanks for watching

  • @YarRegVideo
    @YarRegVideo 7 років тому +1

    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?

  • @wasay456
    @wasay456 3 роки тому

    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.

  • @alexcordovac
    @alexcordovac 2 роки тому

    I wish I knew this before working in a WPF project without any tool like this!!!

  • @Gruggo
    @Gruggo 9 років тому +1

    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?

    • @BrianLagunas
      @BrianLagunas 9 років тому

      +happycamel8666 The only way to do it is to pass that information as a parameter when you navigate to ViewBViewModel.

  • @warrenbuckley3267
    @warrenbuckley3267 8 років тому +1

    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.

  • @TarunRajSingh
    @TarunRajSingh 7 років тому

    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.

  • @davidviljoen5030
    @davidviljoen5030 7 років тому

    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?

  • @GAGANDEEP901
    @GAGANDEEP901 Рік тому

    Doesn't Infragistics have its own button control?

  • @ucariouk
    @ucariouk 7 років тому

    Brian, any UWP samples? I'm having to use PRISM for work, I've normally just implemented my own Containers, commands etc.

  • @piotrkowalski1564
    @piotrkowalski1564 8 років тому

    What about IRegionManager, Application throws an error: IRegionManager is an interface and cant be resolve

  • @Tielc
    @Tielc 8 років тому

    Brian, I was curious, does Prism have implementations for IChangeTracking and IEditableObject build upon the base BindableBase?

  • @venky996
    @venky996 9 років тому

    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?

    • @BrianLagunas
      @BrianLagunas 9 років тому

      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/

    • @jalia1998
      @jalia1998 9 років тому

      +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?

    • @jalia1998
      @jalia1998 9 років тому

      +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.

    • @BrianLagunas
      @BrianLagunas 9 років тому

      +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.

    • @JohnPeter-yf5jf
      @JohnPeter-yf5jf 9 років тому

      +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.. :(

  • @krimbelkacem5751
    @krimbelkacem5751 8 років тому +1

    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

  • @chrish7650
    @chrish7650 9 років тому +5

    great video and knowledge. Also thank you for demoing resharper. haha

    • @BrianLagunas
      @BrianLagunas 9 років тому +1

      +Chris H Thanks for watching

    • @antoniojohnson7693
      @antoniojohnson7693 8 років тому

      +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.

    • @rockerirwin
      @rockerirwin 7 років тому

      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 ?

    • @rockerirwin
      @rockerirwin 7 років тому

      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.

    • @BrianLagunas
      @BrianLagunas 7 років тому

      rockerirwin I'm not going to argue. Nothing changes. Either use Prism or don't. Good luck.

  • @conantran2648
    @conantran2648 4 роки тому

    Thank you for the awesome video.

  • @beepIL
    @beepIL 5 років тому

    1:11:35
    Mark what?

  • @StreetMotionUK
    @StreetMotionUK 8 років тому

    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?

  • @karthikeyank6177
    @karthikeyank6177 8 років тому

    Thanks...You're a life saver

  • @AbhinavSingh-ov7pj
    @AbhinavSingh-ov7pj 7 років тому

    Excellent Video

  • @Hi_Tech
    @Hi_Tech 9 років тому +1

    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?

    • @BrianLagunas
      @BrianLagunas 9 років тому +1

      +Tech Tadashii-Ching I have a lot of advanced courses on Pluralsight about Prism. Check them out here: app.pluralsight.com/author/brian-lagunas

    • @Hi_Tech
      @Hi_Tech 9 років тому

      +Brian Lagunas Link saved. Thanks Brian!

  • @mohamedbeyremmakhlouf
    @mohamedbeyremmakhlouf 8 років тому

    @Brian Thanks

  • @sumitkumawat4uu
    @sumitkumawat4uu 7 років тому

    plz provide source code also

  • @nikolaymoriakov8539
    @nikolaymoriakov8539 8 років тому

    video pic very small

  • @chakala2149
    @chakala2149 6 років тому

    Thank you very helpful :-)

  • @DanHowardMtl
    @DanHowardMtl 8 років тому

    HAHA love the Visual Studio FAIL @ around 16.

  • @vrl23
    @vrl23 4 роки тому

    UnityBootstraper is obsolate.