New API back-end options in Azure Static Web Apps | Azure Friday

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 31

  • @KrisMeister
    @KrisMeister Рік тому +4

    This was good. I've noticed on youtube, Azure created tutorials NEVER show the network traffic developer console of the browser. Like they're afraid someone will get lost. I'd recommend opening the browser traffic so we can understand what the API is calling from the browsers perspective. It would be much more clear.

  • @92strom
    @92strom 2 роки тому +2

    Really enjoyed this episode of Azure Fridays, Annina is so passionate about the demo and explained it really well.

  • @surakshachoudhary2880
    @surakshachoudhary2880 2 роки тому +5

    At this point, is it better to host your (SPA frontend + dotnetcore web api backend) application on Azure static web apps rather than Azure App Service? What are the pros and cons.

  • @scottthompson6829
    @scottthompson6829 2 роки тому +2

    How might this work if APIM is placed behind Front Door and Application Gateway?

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

    Not sure I understand the value in this. Is it simply about avoiding CORS issues? So the SWA is effectively proxying the API request? I guess that means you could restrict network access to the API as it would not longer need to have a public endpoint, provided the SWA can access it. And it would fix any CORS issues. Although I'm assuming that a lot of public APIs don't have strict CORS configuration anyway as they intended to be consumed by any application. I guess it helps if your API is supposed to be private and only consumed by a single app. Or am I missing something?

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

      You pretty much hit the nail on the head. It's meant to simplify Auth and CORS.
      It also simplifies frontend development as you don't need to manage server URLs, you can simply make a call to 'api/endpoint' and your request will be proxied to the same path on the backend. This integrates nicely with services like Front Door and other traffic management solutions to automatically route traffic depending on load and latency.

  • @albin1816
    @albin1816 2 роки тому +2

    Is there a way to access x-ms-client-principal header when developing locally using @azure/static-web-apps-cli ? Or what should I do for local development to authorize and get user info in backend API?

  • @DominikKeller218
    @DominikKeller218 2 роки тому +14

    That’s my sister !!!

  • @Marcel-dt5du
    @Marcel-dt5du Рік тому

    Hi, thanks for the great session! Regarding the Twitter Auth that was mentioned... Can I use role-based authZ with this like with AAD? I.e. I have appRoles enabled for the API app registration and users need to be assigned a role for access... But the twitter user principal is not in AAD and therefore I cannot assign a role to it.

  • @albin1816
    @albin1816 2 роки тому

    Also how do I configure it to only allow AAD logins from my tenant?

  • @alextalp01
    @alextalp01 2 роки тому +1

    Could we get a link to the sample front-end and back-end source-code shown in the video? Thanks!

    • @vivekkaushik9508
      @vivekkaushik9508 2 роки тому

      Yesss

    • @anninakeller9753
      @anninakeller9753 2 роки тому

      You can find the resources in this blog article: techcommunity.microsoft.com/t5/apps-on-azure-blog/use-static-web-apps-api-and-api-management-authorizations-to/ba-p/3603755

  • @mjtpena
    @mjtpena 2 роки тому +1

    This is awesome! This is going to be massive!

  • @odelljl
    @odelljl Рік тому

    I like what I'm seeing but I think of Azure Static Apps as a nice solution because it's simple. As soon as you introduce APIM , there's the cost, the challenges to deploy it using infrastructure as a service, and all the other features you drag along that you won't be using.

  • @alextalp01
    @alextalp01 2 роки тому +1

    This is great, thank you!

  • @AttieHeunis
    @AttieHeunis 2 роки тому

    This is fantastic! Thank you and well done!

  • @RajaAnilKumar
    @RajaAnilKumar Рік тому

    Very well explained.

  • @prasantchettri133
    @prasantchettri133 2 роки тому

    Nice episode, she is passionate and excited to explain and keeps it simple too.

  • @GiovanniOrlandoi7
    @GiovanniOrlandoi7 2 роки тому

    Awesome!

  • @webdeveloperninja9220
    @webdeveloperninja9220 2 роки тому

    Super cool

  • @kirillsmorchkov
    @kirillsmorchkov 2 роки тому

    "Oh, wait for it!!!" XDDD

  • @Larimuss
    @Larimuss 5 місяців тому

    So are static web appa static? Or able have dynamic content? 😂

  • @edimarribeirodasilva5391
    @edimarribeirodasilva5391 2 роки тому

    Franca SP Brasil.

  • @handsome_man69
    @handsome_man69 Рік тому

    Handsome man