How to add Blazor Hot Reload

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • Learn how to add Hot Reload to your .Net Blazor Web Assembly application. In this video I show how to add Hot Reload so that the browser will automatically refresh your Blazor app with your new changes every time you save your code.
    This is a great way to speed up your development, and is one of the biggest upgrades I found in the developer experience when writing Blazor Web Assembly programs.
    I use this on an M1 Macbook using Jet Brains Rider. I haven't tested it in Visual Studio, but I'm fairly certain it works there too.
    Github Repo
    github.com/Scr...
    Follow me on social media!
    Twitter: / scriptbytesio
    Instagram: / scriptbytes
    Threads: www.threads.ne...
    Check out my blog!
    scriptbytes.io/

КОМЕНТАРІ • 22

  • @shaddydxd
    @shaddydxd 10 місяців тому +5

    Thank you so much for this!😁
    You have no idea how much time I've spend on trying getting hot reload to work 😀

  • @w1tcher_550
    @w1tcher_550 9 місяців тому +1

    Thank you so much, you saved my day.

    • @scriptbytes
      @scriptbytes  9 місяців тому +1

      You are welcome, I'm glad it helped!

  •  8 місяців тому

    Thank you for the video👍
    @For developers use window cli instead of using *dotnet run* we should use *dotnet watch* and then possibly when you make a change it will ask you to if you want to reload ? typing a means reload always then everything should be working without problem

  • @vietnguyen2521
    @vietnguyen2521 7 днів тому

    how to on visual studio sir

  • @kyezaarnold6827
    @kyezaarnold6827 7 місяців тому

    This works, thanks mate

  • @Nick-nd9jn
    @Nick-nd9jn 7 місяців тому

    Cheers bro! You saved my hours

    • @scriptbytes
      @scriptbytes  7 місяців тому

      Glad I could help!

    • @Nick-nd9jn
      @Nick-nd9jn 7 місяців тому

      Could you also show how to make it work with mobile devices as well? I mean web, Mac, iOS and android in the same time

  • @arvid-dev
    @arvid-dev 11 місяців тому

    Thank you!!!

  • @vornamenachname906
    @vornamenachname906 7 днів тому

    Danke!

  • @damiankrychowski2988
    @damiankrychowski2988 9 місяців тому

    Is debug working for you during watch?

    • @scriptbytes
      @scriptbytes  9 місяців тому

      Sometimes. Debugging is really hit and miss. That’s my biggest complaint about Blazor

    • @paulh6933
      @paulh6933 3 місяці тому

      I'm using visual code, if I run w/ launch config of Watch, i get hot reload, no debugging. If I run w/ Https, i can debug, but not hot reload

  • @bophasovannlak2853
    @bophasovannlak2853 10 місяців тому

    I use c# for almost 15 year with win form. Few year with blazor, everything working perfectly, fast leaning. But now we change to js framework just 1 reason hot reload is suck

    • @scriptbytes
      @scriptbytes  10 місяців тому

      Ya most of the js frameworks have done a really good job of making hot reload fast and easy.

  • @JustinBoehnen
    @JustinBoehnen 11 місяців тому

    Life saver

  • @edgarwideman737
    @edgarwideman737 8 місяців тому

    Wow, I was searching for the last 3 hours for this. Insain that's it's not documented anywhere.

  • @matioszkea2524
    @matioszkea2524 6 місяців тому

    thank u