The Worst Thing about Blazor

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

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

  • @AkiraTTS
    @AkiraTTS วันที่ผ่านมา

    I have also given up on hot reload. It works in the template app with a few components, but it breaks horribly if you have a proper sized app or if you have components that inherit a base class and you make a change in the base class.

  • @cheesypufs
    @cheesypufs 8 วันที่ผ่านมา +1

    Why can't Microsoft just have one of their genius developers dedicate 1 month to solve this issue? This just looks like MS can't get their shit together.

  • @Thyrius82
    @Thyrius82 15 วันที่ผ่านมา

    In some cases it works, in some cases it does not. In practice this means that sometimes you will not notice that something is wrong until you restart the application.

  • @pkop4
    @pkop4 หลายเดือนก่อน +2

    The worst thing is when debugging it opens Edge with a new profile instead of your current profile in the browser window you already have opened, doesn't save settings etc.

    • @Snickerv12
      @Snickerv12 หลายเดือนก่อน

      It's so horrible. Having 20 tabs open for just a few changes is so annoying. I hate working with front end in VS..

    • @matheosmattsson2811
      @matheosmattsson2811 หลายเดือนก่อน

      @@Snickerv12 @pkop4 I think you guys are talking about two different things. I think the different profile thing is quite nice. It does not mess with your "real" history, cache, etc. All your localhost nonsense is kept separate from your daily browsing..
      For me, using chrome, it opens chrome when debugging and if I kill that chrome instance, it will also kill the debugging session and the dev-server.. It won't spawn new tabs if I re-open, as the debugging session is closely tied to the lifetime of the browser instance. Killing either will kill the other. This is when running with debugging. If running without a debugger, it may well open in my regular browser and spawn a new tab etc.
      Keep in mind, we are using Blazor Web Assembly, not Blazor Server nor Blazor Web App. I don't know how those behave.
      But yes, I agree, hot reload in blazor is unreliable and crap, but it is way better nowadays than it used to be.

    • @dirkschannel5817
      @dirkschannel5817 หลายเดือนก่อน

      I started to migrate old Web Forms apps to Blazor when .NET 8 shipped. Previous to .NET I didn’t see the benefits to replace a legacy, but perfect working performant app from .NET Framework that might be supported for the next two decades…
      So far I like Blazor. It shines at CRUD apps. If it’s the right choice for customer facing app, I don’t know.

    • @rmbl349
      @rmbl349 หลายเดือนก่อน +2

      Thats not a blazor problem, Thats a VS/WIndows problem. Holy crap I hate it when people get thing mixed up and say framework/technollagy is bad...

    • @RamPageMMA
      @RamPageMMA หลายเดือนก่อน

      @Snickerv12 configure the launch settings in the Properties folder

  • @longcall911
    @longcall911 27 วันที่ผ่านมา

    Agreed that hot reload sucks. So, I write a bunch of code, run the app, tweak it and then "Restart Application" from the toolbar. It's not perfect, but what is? :-)

  • @shabanelmogy7912
    @shabanelmogy7912 หลายเดือนก่อน +1

    Blazor Stable In Production ?

    • @Mark-D-Inman
      @Mark-D-Inman  หลายเดือนก่อน

      Most definitely.

    • @sokoo1978
      @sokoo1978 หลายเดือนก่อน

      @@Mark-D-Inman How do you solve updates? I could not find a nice way, users have to CTRL-F5 to get the latest version of the app. Quite annoying.

    • @jimiscott
      @jimiscott 27 วันที่ผ่านมา

      Yes

  • @istovall2624
    @istovall2624 หลายเดือนก่อน

    I have 2 production wasm apps in blazor. and i gotta say, i love it. but yea hot reload sucks.

    • @jimiscott
      @jimiscott 27 วันที่ผ่านมา

      100% I understand the complexity around hot reload (especially WASM), but MS really should be focussing their efforts on this.