How Blazor WebAssembly Works | How Blazor Works

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 17

  • @fieryscorpion
    @fieryscorpion 2 года назад +1

    Thank you for these informative shorts.

  • @jennychen2105
    @jennychen2105 3 года назад +3

    In your course, "Complete Web API in .NET 5 Consumed with Blazor WebAssembly" , do you create Identity Server 4 as an external auth app provider where a standalone Blazor WebAssembly app will use the oidc service to connect to it or as part of a hosted Blazor WebAssembly app?

    • @FrankLiuSoftware
      @FrankLiuSoftware  3 года назад

      Not the one you create with visual studio. I created the web assembly app first for working with the web API and then created a separate identity server 4 project used as a auth provider. Hope I answered your question.

    • @jennychen2105
      @jennychen2105 3 года назад

      @@FrankLiuSoftware So you create a Web Api application that is protected using an auth provider which is a standalone Identity Server 4 application. Then, you create a standalone Blazor WebAssembly app that uses the oidc service to connect to the auth provider for authentication and access the protected resources in the Web Api app. A total of 3 running applications, right?

    • @FrankLiuSoftware
      @FrankLiuSoftware  3 года назад

      That is correct.

    • @jennychen2105
      @jennychen2105 3 года назад +1

      Great, that's exactly what I wanted to learn. I also wanted to know if your course covers refreshing tokens in Blazor WebAssembly. If not, based on the setup of the course, how can we handle refreshing expired tokens in Blazor WebAssembly app so users stay signed in. My understanding is that Blazor does not support silent token refresh out of the box.

  • @geepy5708
    @geepy5708 8 месяцев назад

    Is it okay to say that blazor web assembly is equivalent to Next js?

    • @FrankLiuSoftware
      @FrankLiuSoftware  8 месяцев назад

      Not the same at all

    • @geepy5708
      @geepy5708 8 месяцев назад

      @@FrankLiuSoftware so which type of blazor uses server side rendering?

    • @EasyFileConversionTuts
      @EasyFileConversionTuts 8 месяцев назад

      ​@@geepy5708im new to dotNet thing but i think blazore server is similar to nextjs server side rendering

  • @markboehm7651
    @markboehm7651 3 года назад +1

    Does it still use the Mono Runtime?

    • @FrankLiuSoftware
      @FrankLiuSoftware  3 года назад +2

      With .NET 5, it uses dotnet.wasm instead.

    • @markboehm7651
      @markboehm7651 3 года назад +1

      @@FrankLiuSoftware thank you!

    • @FrankLiuSoftware
      @FrankLiuSoftware  3 года назад +1

      You are welcome!

    • @markboehm7651
      @markboehm7651 3 года назад

      @@FrankLiuSoftware afaik it is IL code which gets sent over the wire to be interpreted by dotnet.wasm (formerly mono). Are there any plans to compile serverside wasm from C# and use that directly?

    • @FrankLiuSoftware
      @FrankLiuSoftware  3 года назад +1

      I am not aware of it. It would be cool though.