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

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

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

  • @mtranchi
    @mtranchi Месяц назад +4

    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

  • @sweeperq
    @sweeperq 2 месяца назад +76

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

    • @SimpMcSimpy
      @SimpMcSimpy 2 месяца назад +18

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

    • @dougfunk01
      @dougfunk01 2 месяца назад +5

      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 2 месяца назад +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 2 месяца назад +1

      Couldn't agree more! Very painful!

    • @danroth27
      @danroth27 2 месяца назад +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?

  • @kostyapetridi734
    @kostyapetridi734 Месяц назад

    congratulation to the team with delivering those improvements! Thanks

  • @ndanh1
    @ndanh1 2 месяца назад +18

    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!

  • @rankarat
    @rankarat 2 месяца назад +3

    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)?

  • @johnmaguire2185
    @johnmaguire2185 2 месяца назад +10

    .net 9 is out. Long live .net X

    • @ghaznavipc
      @ghaznavipc 2 месяца назад

      then .net 11 and then .net 1

  • @cyrildouglas9262
    @cyrildouglas9262 2 месяца назад

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

  • @ArnaldoRivera-p6k
    @ArnaldoRivera-p6k 2 месяца назад

    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?

  • @MornyDevelopment
    @MornyDevelopment 2 месяца назад

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

  • @JimmieZaccai
    @JimmieZaccai 14 дней назад

    Did one project load all 3 interfaces? Web,Desktop,app?

  • @trevordennis
    @trevordennis 2 месяца назад +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 2 месяца назад

      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 2 месяца назад

      @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 2 месяца назад

      @@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.

  • @eltrukof
    @eltrukof 2 месяца назад +2

    is there support for .NET Aspire on IIS?

    • @behrad871
      @behrad871 2 месяца назад +1

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

  • @tosunabi1664
    @tosunabi1664 2 месяца назад

    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?

  • @blackpaw29
    @blackpaw29 2 месяца назад +8

    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.

  • @alwaseem5309
    @alwaseem5309 2 месяца назад

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

  • @aaronprohaska4117
    @aaronprohaska4117 2 месяца назад

    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 2 месяца назад

      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 2 месяца назад

      @@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

  • @ghaznavipc
    @ghaznavipc 2 месяца назад

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

  • @lmora00
    @lmora00 2 месяца назад

    where i cand see the code of this session?

  • @Kimo.Codess
    @Kimo.Codess 2 месяца назад

    I think this will greatly improve YARP performance

  • @pinyorungoral6037
    @pinyorungoral6037 Месяц назад

    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

  • @zarmeza1
    @zarmeza1 2 месяца назад

    is there any plan to support hash routing?

  • @SedricWinningham
    @SedricWinningham 25 дней назад

  • @SaveTheHedgehog
    @SaveTheHedgehog 2 месяца назад

    What happened with Blazor United???!

  • @tempusmagia486
    @tempusmagia486 Месяц назад

    It took 2 years to have the hybrid and web trmplate

  • @jmmoyadev
    @jmmoyadev 2 месяца назад +12

    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 2 месяца назад +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 2 месяца назад +4

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

    • @MB-or1kh
      @MB-or1kh 2 месяца назад +7

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

    • @rlangton76
      @rlangton76 2 месяца назад

      @@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 2 месяца назад

      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.

  • @BizAutomation4U
    @BizAutomation4U Месяц назад

    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.

  • @kalist8938
    @kalist8938 2 месяца назад +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 2 месяца назад

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