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

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

КОМЕНТАРІ • 48

  • @pbible
    @pbible 11 місяців тому +1

    As usual, awesome video. Love your enthusiasm!

  • @jproussel5192
    @jproussel5192 4 місяці тому

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

  • @ericblankenburg
    @ericblankenburg Рік тому +1

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

  • @mohammedMusabKhan
    @mohammedMusabKhan Рік тому +1

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

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

  • @miraj0072004
    @miraj0072004 Рік тому +2

    Great stuff man!

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

    Back to following you aging 😊, nice feature 👍

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

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

  • @TA_Solutions
    @TA_Solutions 3 місяці тому

    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.

  • @alessiotucci0
    @alessiotucci0 8 місяців тому

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

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

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

  • @coding_ideas
    @coding_ideas Рік тому +1

    thank you

  • @khalednabilcs
    @khalednabilcs Рік тому +1

    Nice 👏

  • @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 ua-cam.com/video/AgP4p8qhi4s/v-deo.html as well

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

      I can do it without going to azure

  • @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 :(

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

    • @Д-рВедьмак
      @Д-рВедьмак 10 місяців тому

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

  • @emreaka3965
    @emreaka3965 Рік тому +1

    🎉❤

  • @skillfulactor09
    @skillfulactor09 Рік тому +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

    • @CasalGamerGG
      @CasalGamerGG День тому

      Use a temporary credit card this way You make sure it never happens

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

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

  • @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 11 місяців тому

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

  • @ПавелКесарев-й8г

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

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

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

    Can I also upload Blazor Web App?