Deploy & Host Blazor Static Web Apps for FREE in Azure in ONE click with Visual Studio

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

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

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

    As usual, awesome video. Love your enthusiasm!

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

    Bit late to this video but better late than never. Thank you once again man. You flippen rock🤘🤘

  • @miraj0072004
    @miraj0072004 ปีที่แล้ว +2

    Great stuff man!

  • @ericblankenburg
    @ericblankenburg ปีที่แล้ว +1

    Thanks for posting. It seems like this is the way to go.

  • @penkhullwolf
    @penkhullwolf ปีที่แล้ว +1

    Love your videos James

    • @davefb
      @davefb ปีที่แล้ว

      Same..
      Though.... I've just nearly fell out of my chair as was watching one from 5 years ago.... development... theres some prices we pay.

  • @mohammedMusabKhan
    @mohammedMusabKhan ปีที่แล้ว +1

    It's gonna be giving us the taste of Azure before we use it. Cool!!

  • @ATNL4
    @ATNL4 ปีที่แล้ว

    Back to following you aging 😊, nice feature 👍

  • @joseenmanuel1
    @joseenmanuel1 ปีที่แล้ว

    you are a real hero Thank you. amazing content

  • @caseyspaulding
    @caseyspaulding ปีที่แล้ว +2

    So this is like Netlify kind of

  • @omerfarukkaya
    @omerfarukkaya ปีที่แล้ว +3

    It deploys to preview environment. How can we choose Production or convert deployment on preview to production?

    • @pawebielecki887
      @pawebielecki887 ปีที่แล้ว

      Open Properties/PublishProfiles/YourProject.pubxml file and replace preview with production

  • @khalednabilcs
    @khalednabilcs ปีที่แล้ว +1

    Nice 👏

  • @TA_Solutions
    @TA_Solutions 26 วันที่ผ่านมา

    I got this error
    âœ- swa deploy cannot be used when --output-location option is also set.
    âœ- You either have to use the positional argument or option, not both at the same time.

  • @coding_ideas
    @coding_ideas ปีที่แล้ว +1

    thank you

  • @ecblanco
    @ecblanco ปีที่แล้ว +3

    Hey man! Great video. I do have a question, would this work if the app is hosted with an API? Thanks! 😊

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว +1

      This is a good question. I have to imagine yes because the cli supports it, but I will have to test how to do it: learn.microsoft.com/en-us/azure/static-web-apps/static-web-apps-cli-deploy

    • @ecblanco
      @ecblanco ปีที่แล้ว

      @@JamesMontemagno Sweet, I'll give it a go too, thank you!!!

    • @JeprianaW
      @JeprianaW ปีที่แล้ว

      @@ecblanco hi, are succeed to test hosted app?

    • @ecblanco
      @ecblanco ปีที่แล้ว +2

      @@JeprianaW Yes it did worked!

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

    Can I be the only one that is getting a lot of issue with the deployment? Locally the project worked but it just cant publish smoothly. I will try to debug. or Update Visual Studio, or do both, and install latest version of nuget...

  • @emreaka3965
    @emreaka3965 ปีที่แล้ว +1

    🎉❤

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

    If you use NuGet Packages in private feeds in Azure DevOps? Thanks.

  • @ticu10
    @ticu10 ปีที่แล้ว +2

    that is wrong, that was not a deployment.... it was on preview ... u should show how to actually deploy or change the title. it's missleading

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว

      not sure what you mean by "it was on preview" it does deploy your web app to static web apps. I have a full walkthrugh th-cam.com/video/AgP4p8qhi4s/w-d-xo.html as well

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

      I can do it without going to azure

  • @jimnorth9902
    @jimnorth9902 ปีที่แล้ว +1

    Thanks for this! Question: I have an existing Blazor SWA project that I have deployed using the GitHub Actions method. Can I convert this project over to this Publish method without creating a new Azure SWA instance?

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว +1

      I believe you will need to switch it over unfortunately as how SWA configures things from my understanding

    • @jimnorth9902
      @jimnorth9902 ปีที่แล้ว

      @@JamesMontemagno Thanks! The Publish works great!! Fortunately the app is still in development, so deploying to a new SWA instance was not a problem

  • @nitrogenius
    @nitrogenius ปีที่แล้ว

    In publish section there is no Static Web app options, it starts with Azure container. I am using the latest version of vs 2022

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว

      Hmmm perhaps it is still in the preview version

    • @Д-рВедьмак
      @Д-рВедьмак 8 หลายเดือนก่อน

      @@JamesMontemagno the same
      I have the last version of "preview version"

  • @zarokoshin4090
    @zarokoshin4090 ปีที่แล้ว

    Thanks for all the videos it helped a lot!! However, in this instance when i select publish i get this
    âœ- swa deploy cannot be used when --output-location option is also set.
    âœ- You either have to use the positional argument or option, not both at the same time.
    and i already install cli it wont let me publish the project any thougths? :(

    • @DilkielGaming
      @DilkielGaming ปีที่แล้ว +1

      i get the same error. any ideas? did you end up fixing it?

    • @zarokoshin4090
      @zarokoshin4090 ปีที่แล้ว

      @@DilkielGaming no :(

  • @adamoneil7435
    @adamoneil7435 ปีที่แล้ว

    I know I could research this, but why the npm dependency? I find that a bit weird for a .NET-centric tool chain

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว

      It’s is just how the static web app cli is built as it works with a plethora of web frameworks

    • @finnurhrafn
      @finnurhrafn ปีที่แล้ว

      @@JamesMontemagno Did David Fowler authorize the use of NPM? I remember him commenting on a community call his dislike for NPM :)
      But anyway this is a great feature!

  • @ПавелКесарев-й8г
    @ПавелКесарев-й8г ปีที่แล้ว +1

    т.е в азуре можно нахаляву что-то разместить?

    • @JamesMontemagno
      @JamesMontemagno  ปีที่แล้ว +2

      Yes, there is A LOT in Azure for Free: azure.microsoft.com/free/

    • @jonaszjonasz5752
      @jonaszjonasz5752 ปีที่แล้ว

      Azure static web is free for 12 months only

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

    how is it free when you selected pay as you go? I am rather confused there you will be charged on pay as you go right? @JamesMontemagno

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

    Can I also upload Blazor Web App?

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

      As long as it is web assembly only.

  • @justinnelson6169
    @justinnelson6169 ปีที่แล้ว

    How do you get this to go to the production (and not preview) environment?

    • @sofievervaeke6999
      @sofievervaeke6999 ปีที่แล้ว

      change preview to production in the file under Properties - PublishProfiles (Solution Explorer)

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

      I updated the pubxml file in a text editor and changed preview to production which worked for me.