5 Differences between Blazor Server and Blazor WebAssembly

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

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

  • @ClaudioBernasconi
    @ClaudioBernasconi  Год назад

    What is your reason for choosing Blazor Server or Blazor WebAssembly? 🤔

    • @jmehappy
      @jmehappy 10 месяцев назад

      Hi. I am new to blazor and I think .NET 8 blazor gives so many options. I think about combining Blazor Server with Web API (written in clean architecture), everything works on server and I think that the architecture is so simply: only one project for Blazor and then fetch data from API project controllers.

  • @vencislavvidov
    @vencislavvidov Год назад +1

    what about blazor render for first page for webassembly?

    • @ClaudioBernasconi
      @ClaudioBernasconi  Год назад +1

      I don't get the question. In the future, Blazor United will allow you to use server-side rendering for Blazor web apps. Right now, when you use WebAssembly, it will always download the whole app before running it, as far as I understand.

    • @vencislavvidov
      @vencislavvidov Год назад +1

      @@ClaudioBernasconithere is an Option to Render a Part of webassemby while it Download, i think there is a Video in RUclips, to

  • @gobindkumar9320
    @gobindkumar9320 9 месяцев назад

    how can we disabled or remove this error message (Could not reconnect to the server. Reload the page to restore functionality.) server app?

    • @ClaudioBernasconi
      @ClaudioBernasconi  9 месяцев назад

      You should prevent this error from happening. When this error shows up, your application stops working and cannot be used anymore. I don't know if you can stop the message from appearing, but I can tell you that it most likely is not what you want to do.

  • @yassermian9913
    @yassermian9913 11 месяцев назад

    is the biggest similarity between 2 that your whole page does not refresh like old fashioned full page server trip. i am new so plesse advise if iam correct.

    • @ClaudioBernasconi
      @ClaudioBernasconi  11 месяцев назад +1

      Both, Blazor Server and Blazor WebAssembly provide a single-page experience where the page does not require a full page reload to rerender parts of the application. With .NET 8, you also have static server content as the third option. WebAssembly fully renders on the client and does not require ASP.NET Core on the server.

    • @yassermian9913
      @yassermian9913 11 месяцев назад

      @@ClaudioBernasconi thanks. is there any 3rd party grid which can do in-column editing like a desktop app.