Application State in Blazor Apps

แชร์
ฝัง

ความคิดเห็น • 31

  • @YogShogoot
    @YogShogoot 3 ปีที่แล้ว +56

    [09:00] sweetest moment in any coding related video on the internet

    • @maacpiash
      @maacpiash 3 ปีที่แล้ว +5

      Yes, that was unexpected and quite adorable!

    • @rammaharjan3667
      @rammaharjan3667 3 ปีที่แล้ว +1

      0+

  • @SergeiCalabonga
    @SergeiCalabonga 3 ปีที่แล้ว +13

    Great! Thank you very much! But where I can find the code source?

  • @TheCodingKent
    @TheCodingKent 3 ปีที่แล้ว +3

    This is exactly what I needed. Thanks.

  • @dmtuan
    @dmtuan 3 ปีที่แล้ว +1

    Great video. Love the info!

  • @codefoxtrot
    @codefoxtrot 2 ปีที่แล้ว +6

    Don't get me wrong-- I'm happy Microsoft is putting up videos like this, but I have to ask why they are so time constrained and rushed? You can hear Carl make at least one reference to the time as he is rushed through these elegantly prepared slides and demos. I'd rather this be a two hour video, where Carl has the time he needs to step through this and can exhaust the relevant questions from the community. Even better would be building each of these examples from a starting point of the default template, so folks can follow along and learn. So I'm glad to come across this video, but please consider allotting much more time to community demonstrators in the future-- it will benefit the entire community!

    • @csharpfritz
      @csharpfritz 2 ปีที่แล้ว

      This video was part of the .NET Conf 2020 virtual conference and was constrained to 30 minutes. We're happy to post longer form content as appropriate

    • @codefoxtrot
      @codefoxtrot 2 ปีที่แล้ว

      @@csharpfritz Appreciate the reply, big fan. Was researching the app state topic and approaches at the time, so was craving as much detail as possible. Thanks for all you do!

  • @alkishadjinicolaou5831
    @alkishadjinicolaou5831 2 ปีที่แล้ว +1

    How do we deal with page refreshes? All data are lost except for singleton scoped data..

  • @GiovanniQuarella
    @GiovanniQuarella 3 ปีที่แล้ว

    I saw you have to enable Text Editor toolbar. After Visual Studio 16.8 upgrade the toolbar setup is not saved for non administrator user. Is it a VS bug?

  • @maacpiash
    @maacpiash 3 ปีที่แล้ว +1

    If I want to implement app state with DI (AddScoped) and I do not need to get notifications on changes of the app state, can I get away without implementing IDisposable?

  • @Handyzhang
    @Handyzhang 3 ปีที่แล้ว

    great sharing!

  • @ronaldschutte7948
    @ronaldschutte7948 2 ปีที่แล้ว

    I found out the hard way that it is quite easy to create multiple instances of a Singleton service. I hope this will be fixed some day. Just mixing constructor and attribute injection should not create multiple singletons.

  • @charlesbaldo
    @charlesbaldo 3 ปีที่แล้ว +2

    Please Carl, i started reading your books on Visual Basic, you are making me feel old, when you tell me you are old.

  • @tbremard
    @tbremard ปีที่แล้ว

    Great presentation, thanks !
    @microsoft this is just crazy to have not a single reference to INotifyPropertyChanged !

  • @chezchezchezchez
    @chezchezchezchez 3 ปีที่แล้ว

    I just want to get the damn “remember me “feature to my blazer server login. How can I most easily do this? Thanks so much anybody that can help me

  • @tomarik
    @tomarik 2 ปีที่แล้ว +1

    Here are the links to source code from the video.
    blazorroadshow.azurewebsites.net/blazortrainfiles/PersistingAppState.zip
    blazorroadshow.azurewebsites.net/blazortrainfiles/ApplicationState.zip

  • @seancpp
    @seancpp 3 ปีที่แล้ว

    Nice last name Carl :)

  • @leftjabrighthook
    @leftjabrighthook ปีที่แล้ว

    "the one who must be obeyed" 🤣

  • @cristovaomorgado
    @cristovaomorgado 3 ปีที่แล้ว +2

    Fluxor is a great solution also

    • @maacpiash
      @maacpiash 3 ปีที่แล้ว +2

      Fluxor is a bit cumbersome, with too much boilerplate code, for my preference.

    • @williamnoel8443
      @williamnoel8443 3 ปีที่แล้ว

      I tried to use it in a WASM only project and it complained about static files. Never could get it to work. 🤷‍♂️

  • @justind6983
    @justind6983 3 ปีที่แล้ว

    there is no such thing as "secure" storage once data hits the browser.. .the same functions you use to decrypt a message on the frontend(ie: the browser) I can invoke as well. you are essentially delivering to your clients both the key and lock to your secrets.

    • @justind6983
      @justind6983 3 ปีที่แล้ว

      to reiterate... the "ciphered" data HAS to be sent to the backend for decryption... there is nothing special about this process.... it's two methods... you can use a ceaser cypher for all it matters

    • @metaltyphoon
      @metaltyphoon 3 ปีที่แล้ว

      That’s completely wrong. Blazor server is the one thing that can decode the protected storage, thats why its NOT available via Blazor WASM.

    • @justind6983
      @justind6983 3 ปีที่แล้ว

      @@metaltyphoon the storage isn't secure. It's still on the clients computer. There is nothing "completely wrong" about my response.

    • @justind6983
      @justind6983 3 ปีที่แล้ว

      @@metaltyphoon more simply put.. once you out your encoded data on a clients machine.. it's no longer trusted. I can decrypt most messages using a simply dictionary available on most Macs

  • @arsoftcr1095
    @arsoftcr1095 2 ปีที่แล้ว

    copy from ruby ​​and rails, copy from react, copy all. They never do anything original.