ASP.NET Core Series: PWA's with Blazor

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • Progressive Web Applications (PWA) use modern browser APIs and capabilities to behave like a desktop app. Since Blazor WebAssembly is a standards-based client-side web app platform, developers have the ability to leverage these browser APIs and create PWAs using .NET.
    In this episode, Jeremy is joined by Dan Roth to discuss the built in support for building PWAs with Blazor and show us a few demos of how get started.
    [01:44] - What are Progressive Web Apps?
    [02:48] - Getting prepared to make your app installable
    [05:05] - (Demo) Creating a PWA with Blazor
    [07:38] - Exploring the manifest and service worker
    [09:30] - Supporting office scenarios
    [14:00] - Synchronizing offline updates
    [19:22] - Push notifications with PWAs
    [24:46] - (Demo) Setting up notifications in code
    Get started with Blazor
    docs.microsoft...
    Build Progressive Web Applications with ASP.NET Core Blazor WebAssembly
    docs.microsoft...
    Call JavaScript functions from .NET methods in ASP.NET Core Blazor
    docs.microsoft...
    Get your questions answered on the Microsoft Q&A for .NET - aka.ms/dotnet-qa​
    Learn .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet
    #blazor #PWA #WebApps #AspNetCore #Dotnet

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

  • @80amnesia
    @80amnesia 3 года назад +15

    blazor/webassembly is the future, don't stop pushing it guys!!!

  • @picflight
    @picflight 3 года назад

    Very exciting, can’t wait to try it.
    Thank you for the great demo!

  • @Erril-1
    @Erril-1 2 года назад

    Wauh, really like PWA with Blazor!!

  • @80amnesia
    @80amnesia 3 года назад +1

    It would be great to have a blazor/webassebly library for accessing the camera and scan qr code. Also the possibility to connect to bluetooth/ble devices

  • @richardmadureira2447
    @richardmadureira2447 3 года назад

    Uaal, thanks for sharing this content!!

  • @ICanSeeSharp
    @ICanSeeSharp 3 года назад

    Amazing! I have to try this out immediately 🤩

  • @amalaljohari9358
    @amalaljohari9358 3 года назад +1

    I've been waiting for Blazor, I hate JavaScript, however, now I got a new project and I realized that I can't use Blazor because of all its issues, the biggest one is the search engine thing, and if I want to use the server side, it has scalability issues, really sad that I have to back to JavaScript, and use react with Nextjs, guys please solve these major issues, even when I search the job posts I don't find jobs require Blazor, they always require C# with React or Angular, companies are not using it because of its issues

  • @SixHatSolutions
    @SixHatSolutions 2 года назад

    Great video, Love Blazor WASM but have to admit that to date Hot Reload is a #HotMess within it. Even using VS 2022 and .Net 6. I am surprised that its even released as buggy as it is.

  • @robsonsaito59
    @robsonsaito59 3 года назад

    Really awesome!!

  • @willinton06
    @willinton06 3 года назад

    The .Net language of your choice? Can this be done with VB.NER or CLR C++?

  • @swankyshivy
    @swankyshivy 3 года назад

    do you need vs 2019 to do this or would older versions vs be able to. i have vs 2015. will need more hard disk to upgrade :(

  • @joshemm4991
    @joshemm4991 3 года назад

    re: PWA, ,is there any elevated permissions possibility? I want to call windows Twain or WIA functions for scanning apps.

  • @mikkokeranen6231
    @mikkokeranen6231 3 года назад

    Good stuff

  • @fmitsinc9146
    @fmitsinc9146 3 года назад

    Im suffering with Blazor wasm. Extremely slow to load. My customer's customers complain about the website is too slow to load and sometimes hangs during loading. Im thinking of dropping it and move to something else such as React for front end. Blazor server is not an option since you need to maintain the connection and mobile users may go offline from time to time

    • @tpi8965
      @tpi8965 3 года назад

      in .net 5, they add features to help that problem. I recommend to use .net 5 now.

  • @jaswinderbhatti3186
    @jaswinderbhatti3186 2 года назад

    i want to do with core 6.0 in vs2022 but it is not working could you please help me out to do.

  • @marshallmay2528
    @marshallmay2528 3 года назад +1

    The problem with PWA's is that apple doesn't like them. PWA on apple are very limited. Especially when it tries to go to lock screen. I'm moving away from PWA's. End up having multi-apps for different platforms which is the opposite of ideal.

  • @compscilaw
    @compscilaw 3 года назад

    Any chance you'll ever build your own grpc to go hand in hand with this. To me that is the holy grail.

  • @Beji-boy
    @Beji-boy 3 года назад

    Can you show how add PWA funcionality :) ? like little tutorial

  • @nickhubbard3671
    @nickhubbard3671 3 года назад

    24:33 Fields? Fields? That's Buckingham Palace mate! Where the Queen and her corgis live!

  • @galaxiegalaxie5003
    @galaxiegalaxie5003 3 года назад

    Thanks,will there be visual studio for linux? I want to run my blazor app with linux with visual studio.😁

    • @sps014
      @sps014 3 года назад

      Your best bet will be Rider or vs code.

    • @galaxiegalaxie5003
      @galaxiegalaxie5003 3 года назад

      @@sps014 yeh but i want free like community version visual studio

    • @wursteyify
      @wursteyify 3 года назад

      @@galaxiegalaxie5003 than use vs code

    • @galaxiegalaxie5003
      @galaxiegalaxie5003 3 года назад

      @@wursteyify thank you my frens,i do have rider,vs code on my linux machine, i am just asking if there is a real possibilities of visual studio,a real ide for linux,thats all ,ofcourse for free like community version, also to add i also wanna see some opinion about entity framework and dapper from the experts,thanks😁

    • @ioanbotez7128
      @ioanbotez7128 3 года назад

      @@galaxiegalaxie5003 vs code is currently pretty terrible, unless you're already quite experienced with dotnet, as it doesn't have as many helpers as VS, IMO

  • @hiphopheaven
    @hiphopheaven 3 года назад

    Will Blazor completly be independent from javascript in the future?

    • @sps014
      @sps014 3 года назад

      I am not a huge fan of JavaScript, but JavaScript complements C# really nicely with it's libraries , i don't think they will be able to pull that off, web assembly in general is missing many browser API hence making blazor independent will put it to disadvantage.

    • @hiphopheaven
      @hiphopheaven 3 года назад

      @@sps014 but it's crazy that there's no option to download a file from server without using javascript

    • @ioanbotez7128
      @ioanbotez7128 3 года назад

      Practically no. There's nothing like d3, or chartjs available in dotnet, and it would be a huge pain to create an equivalent. Realistically speaking, js will save you a lot of work.

    • @hiphopheaven
      @hiphopheaven 3 года назад

      @@ioanbotez7128 I'm talking about the long term.It's just crazy to think Blazor will be as powerful as Javascript who is 24 years old.

    • @ioanbotez7128
      @ioanbotez7128 3 года назад +1

      That depends what you mean by powerful. If you disregard the ecosystem, then WASM (what blazor is based on) can already do everything JS can. So assuming MS extends Blazor to allow for all the capabilities of JS, then yes. But the ecosystem is a very powerful thing. Even in the "future", JS will have a significant advantage in this aspect.

  • @adp4803
    @adp4803 3 года назад +1

    The menu that comes with a stock Blazor project is wholly and totally inadequate for real world applications!