Thanks for posting. It seems like this is the way to go.
@jproussel51925 ай бұрын
Bit late to this video but better late than never. Thank you once again man. You flippen rock🤘🤘
@miraj0072004 Жыл бұрын
Great stuff man!
@penkhullwolf Жыл бұрын
Love your videos James
@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.
@caseyspaulding Жыл бұрын
So this is like Netlify kind of
@joseenmanuel1 Жыл бұрын
you are a real hero Thank you. amazing content
@mohammedMusabKhan Жыл бұрын
It's gonna be giving us the taste of Azure before we use it. Cool!!
@ATNL4 Жыл бұрын
Back to following you aging 😊, nice feature 👍
@omerfarukkaya Жыл бұрын
It deploys to preview environment. How can we choose Production or convert deployment on preview to production?
@pawebielecki887 Жыл бұрын
Open Properties/PublishProfiles/YourProject.pubxml file and replace preview with production
@ecblanco Жыл бұрын
Hey man! Great video. I do have a question, would this work if the app is hosted with an API? Thanks! 😊
@JamesMontemagno Жыл бұрын
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 Жыл бұрын
@@JamesMontemagno Sweet, I'll give it a go too, thank you!!!
@JeprianaW Жыл бұрын
@@ecblanco hi, are succeed to test hosted app?
@ecblanco Жыл бұрын
@@JeprianaW Yes it did worked!
@TA_Solutions3 ай бұрын
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.
@amandoolcinasegui7746 Жыл бұрын
If you use NuGet Packages in private feeds in Azure DevOps? Thanks.
@alessiotucci08 ай бұрын
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...
@khalednabilcs Жыл бұрын
Nice 👏
@coding_ideas Жыл бұрын
thank you
@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 Жыл бұрын
Hmmm perhaps it is still in the preview version
@Д-рВедьмак11 ай бұрын
@@JamesMontemagno the same I have the last version of "preview version"
@ПавелКесарев-й8г Жыл бұрын
т.е в азуре можно нахаляву что-то разместить?
@JamesMontemagno Жыл бұрын
Yes, there is A LOT in Azure for Free: azure.microsoft.com/free/
@jonaszjonasz5752 Жыл бұрын
Azure static web is free for 12 months only
@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 Жыл бұрын
i get the same error. any ideas? did you end up fixing it?
@zarokoshin4090 Жыл бұрын
@@DilkielGaming no :(
@jimnorth9902 Жыл бұрын
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 Жыл бұрын
I believe you will need to switch it over unfortunately as how SWA configures things from my understanding
@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
@justinnelson6169 Жыл бұрын
How do you get this to go to the production (and not preview) environment?
@sofievervaeke6999 Жыл бұрын
change preview to production in the file under Properties - PublishProfiles (Solution Explorer)
@AkshayGaur11 ай бұрын
I updated the pubxml file in a text editor and changed preview to production which worked for me.
@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 Жыл бұрын
It’s is just how the static web app cli is built as it works with a plethora of web frameworks
@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!
@Pablobdg6 ай бұрын
Can I also upload Blazor Web App?
@JamesMontemagno6 ай бұрын
As long as it is web assembly only.
@emreaka3965 Жыл бұрын
🎉❤
@ticu10 Жыл бұрын
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 Жыл бұрын
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 kzbin.info/www/bejne/d5izZaNups2catU as well
@francisdy7294 Жыл бұрын
I can do it without going to azure
@skillfulactor09 Жыл бұрын
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
@CasalGamerGG8 күн бұрын
Use a temporary credit card this way You make sure it never happens