What's New for ASP.NET Core & Blazor in .NET 9

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 49

  • @joesomsom
    @joesomsom Місяць тому +15

    I really enjoy all of Daniel's recent presentations; very easy to understand and made me accepted/appreciate major Microsoft .NET features.

  • @sweeperq
    @sweeperq Місяць тому +71

    One of the biggest headaches in developing with .Net in VS 2022 is hot reload. Any improvements there?

    • @SimpMcSimpy
      @SimpMcSimpy Місяць тому +16

      Agree. Hot reload is almost unusable.
      They know about it but nothing is being done.

    • @dougfunk01
      @dougfunk01 Місяць тому +3

      I hate that I can't edit a partial or a layout without a complete re-build. It was honestly better before hot reload days when views didn't need compiled

    • @larsp5109
      @larsp5109 Місяць тому +3

      @@SimpMcSimpySo, you have inside information from within Microsoft backing up your statement? If not, it’s just am assumption based on … nothing….

    • @Grahamx32
      @Grahamx32 Місяць тому

      Couldn't agree more! Very painful!

    • @danroth27
      @danroth27 29 днів тому +6

      @@dougfunk01 Hmm, hot reloading changes to your layout and partials should work. I tried out a few simple cases with .NET 9 and Visual Studio 17.12 and it seemed to work fine. Could you please open a Visual Studio feedback ticket with details on the specific problem you're seeing so we can investigate further?

  • @mtranchi
    @mtranchi 11 днів тому +1

    2:23 Aspire
    14:09 Detect render mode
    16:46 Reconnection for Interactive Server Rendering
    18:53 Blazor hybrid app
    24:55 MapStaticAssets() instead of UseStaticFiles()
    25:33 @Assets
    28:50 OpenAPI support
    33:12 SignalR
    34:40 HybridCache

  • @kostyapetridi734
    @kostyapetridi734 15 днів тому

    congratulation to the team with delivering those improvements! Thanks

  • @ndanh1
    @ndanh1 Місяць тому +14

    Chapters is not a new concept in youtube! The channel author should adopt this concept and apply it. Given the fact that these videos are educational and marketing content, it emphazies the need of a chapters availability more ever!

  • @johnmaguire2185
    @johnmaguire2185 Місяць тому +9

    .net 9 is out. Long live .net X

    • @ghaznavipc
      @ghaznavipc 24 дні тому

      then .net 11 and then .net 1

  • @rankarat
    @rankarat 29 днів тому +2

    Is it possible to configure Blazor in .NET 9 to automatically transition from SSR (Server-Side Rendering) to WASM (WebAssembly) for interactivity, similar to the behavior shown in the InteractiveAuto render mode, but without relying on the server rendering via WebSocket (Interactive Server phase)?

  • @cyrildouglas9262
    @cyrildouglas9262 22 дні тому

    In 26:11 you're mentioning that you're new TagHelper for generating ImportMap for cshtml files, what is that tag helper?

  • @MornyDevelopment
    @MornyDevelopment 22 дні тому

    How and where would you implement identity like the .net 8 template does with a tickmark in the template wizard?

  • @trevordennis
    @trevordennis Місяць тому +2

    I installed VS 17.12 last night and today my 8.0 Blazor projects stopped building. Apparently, the VS update DELETED the 8.0 LTS SDK off my system!!! Why would it do that? And the 9.0.100 SDK has a bug in one of its target files preventing the build. I had to manually re-install 8.0.404 and set up a global.json file just to get my solution working again. ApplyCompressionNegotiation task failed because it's in the target file twice.

    • @andrewzolotukhin6043
      @andrewzolotukhin6043 Місяць тому

      yeah, it purged 8.0 SDK for me as well, it was kinda surprising. However migration went smoothly on my project, I managed to run it on .NET 9 with no issues so far.

    • @danroth27
      @danroth27 29 днів тому

      @travordennis Can you share the GitHub issue number for the .NET 9 SDK issue you hit? I'd like to follow up to make sure it's getting addressed.

    • @trevordennis
      @trevordennis 29 днів тому

      @@danroth27 Took 13 hours of banging my head against my desk, but I figured it out. It didn't like that I had a wwwroot in a child class library project where all my blazor pages were. I was sharing that with the wasm and server projects and it couldn't combine them since the upgrade. Worked fine with the 8.0 sdk. I updated the reported issue with the VS team and told them to close the issue.

  • @ArnaldoRivera-p6k
    @ArnaldoRivera-p6k 18 днів тому

    I've been working APIs on .NET 7 and 8, but when switching to 9 the browser does not show the swagger. I tried in several computer with the same results, is there anything that has changed?

  • @tosunabi1664
    @tosunabi1664 25 днів тому

    For Blazor Server: What happens when socket connections are exhausted at the server side? I mean when the socket connection limit is reached, 64k theoretical max?

  • @eltrukof
    @eltrukof 28 днів тому +2

    is there support for .NET Aspire on IIS?

    • @behrad871
      @behrad871 20 днів тому +1

      No. .NET Aspire doesn't support running web apps on IIS or IIS Express.

  • @blackpaw29
    @blackpaw29 Місяць тому +7

    Aspire is great, but its not new to dotnet 9 - would have appreciate chapters so I could easily skip it to the actual new stuff.

  • @Kimo.Codess
    @Kimo.Codess Місяць тому

    I think this will greatly improve YARP performance

  • @aaronprohaska4117
    @aaronprohaska4117 Місяць тому

    In context to the Maui and WebApp project template. How would I share local Identity user authentication between Maui and Web? As I understand it the SignInManager has a dependency on HttpContext which would not work for logging in a user in Maui.

    • @rlangton76
      @rlangton76 Місяць тому

      The way I did it is to use WebAuthenticator with a URL to my web login screen. On successful login I return a JWT to the mobile app. SignInManager is only used in my Web side components.

    • @aaronprohaska4117
      @aaronprohaska4117 Місяць тому

      @@rlangton76 Would this work with local accounts? What I am hoping to do is reuse the AspNetUsers table and as much of the register and login plumbing as possible. My goal is to create a Maui Blazor desktop app that can login to a local sqlite database using IdentityUser

  • @najeebvannp
    @najeebvannp 23 дні тому

    How static assets () work with template project of ".net Maui Blazor hybrid and web app" @25:00

  • @alwaseem5309
    @alwaseem5309 24 дні тому

    Is ther any docs on how to make this work in MVC?

  • @lmora00
    @lmora00 Місяць тому

    where i cand see the code of this session?

  • @zarmeza1
    @zarmeza1 Місяць тому

    is there any plan to support hash routing?

  • @ghaznavipc
    @ghaznavipc 24 дні тому

    So... is merging blazor server with webassembly into one single project canceled or something?

  • @pinyorungoral6037
    @pinyorungoral6037 3 дні тому

    The blazor hybrid not give me best experience like react, angular. It take time to hot reload and some time hot reload is bug and some time i got problem about browser cache wasm file. I still waiting to see stable blazor version that i can use full stack dotnet on my projects

  • @BizAutomation4U
    @BizAutomation4U 19 годин тому

    I often wonder why nobody is yet talkikng about project progress designed to convert legacy frameworks to Blazor. There's a reason why many people are (mistakenly I think) compare Blazor to Silverlight. Start talking up how MS is investing in conversion frameworks from say Webforms and Winforms to Blazor and you'll get a real ROI in terms of PR. People want more than just "trust us, we'll not Silverlight Blazor". Investing commitments will walk that talk.

  • @SaveTheHedgehog
    @SaveTheHedgehog 21 день тому

    What happened with Blazor United???!

  • @jmmoyadev
    @jmmoyadev Місяць тому +11

    All the presentations and demos of Blazor look great, everything is fantastic, everything is easy, everything is magical... and then you crash into a real life project with Blazor and you just want to run away. So, you have WASM, Server Side, now together, now client render, now Interactive, now Automatic... a component inside a component inside another component and keep nesting components to the infinite... And now I going to create another component just for a label... Anyone feels the same? It's a pain.
    I'm sick of the counter page and the weather forecast page template... years and years with the same demos...

    • @rlangton76
      @rlangton76 Місяць тому +1

      I agree, why do we need 16 render modes that are very difficult to troubleshoot. Working with Blazor and Maui has been a very painful learning experience. Just hoping I can get across the finish line with the app I'm building, but some of these strange behaviors take me weeks to figure out and come to some hacky resolution.

    • @I_OptimusPrime
      @I_OptimusPrime Місяць тому +4

      Is that component inside component loop same for other react etc.?

    • @MB-or1kh
      @MB-or1kh Місяць тому +7

      Just choose a render mode and stick with it. Don't switch to another unless you have a definite use case.

    • @rlangton76
      @rlangton76 Місяць тому

      @@MB-or1kh if you have blazor hybrid app supporting both web and mobile there are legitimate reasons to have to use multiple render modes

    • @rankarat
      @rankarat 29 днів тому

      This is so not true! if you having a bad experience why don't you use just WebAssembly? it is the best experience you can get! super fast, beautiful and really magical.

  • @kalist8938
    @kalist8938 29 днів тому +1

    I tried Blazor in the past, no hot reload make me crazy.
    Still no hot reload today, then its a pass again for me.

    • @rankarat
      @rankarat 26 днів тому

      @@kalist8938
      There is hot reload in Blazor, the server side HR works great, the wasm one a bit slow.