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

  Рет қаралды 12,442

James Montemagno

James Montemagno

Күн бұрын

Пікірлер
@pbible
@pbible 11 ай бұрын
As usual, awesome video. Love your enthusiasm!
@ericblankenburg
@ericblankenburg Жыл бұрын
Thanks for posting. It seems like this is the way to go.
@jproussel5192
@jproussel5192 5 ай бұрын
Bit late to this video but better late than never. Thank you once again man. You flippen rock🤘🤘
@miraj0072004
@miraj0072004 Жыл бұрын
Great stuff man!
@penkhullwolf
@penkhullwolf Жыл бұрын
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.
@caseyspaulding
@caseyspaulding Жыл бұрын
So this is like Netlify kind of
@joseenmanuel1
@joseenmanuel1 Жыл бұрын
you are a real hero Thank you. amazing content
@mohammedMusabKhan
@mohammedMusabKhan Жыл бұрын
It's gonna be giving us the taste of Azure before we use it. Cool!!
@ATNL4
@ATNL4 Жыл бұрын
Back to following you aging 😊, nice feature 👍
@omerfarukkaya
@omerfarukkaya Жыл бұрын
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
@ecblanco
@ecblanco Жыл бұрын
Hey man! Great video. I do have a question, would this work if the app is hosted with an API? Thanks! 😊
@JamesMontemagno
@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
@ecblanco Жыл бұрын
@@JamesMontemagno Sweet, I'll give it a go too, thank you!!!
@JeprianaW
@JeprianaW Жыл бұрын
@@ecblanco hi, are succeed to test hosted app?
@ecblanco
@ecblanco Жыл бұрын
@@JeprianaW Yes it did worked!
@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.
@amandoolcinasegui7746
@amandoolcinasegui7746 Жыл бұрын
If you use NuGet Packages in private feeds in Azure DevOps? Thanks.
@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...
@khalednabilcs
@khalednabilcs Жыл бұрын
Nice 👏
@coding_ideas
@coding_ideas Жыл бұрын
thank you
@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
@Д-рВедьмак
@Д-рВедьмак 11 ай бұрын
@@JamesMontemagno the same I have the last version of "preview version"
@ПавелКесарев-й8г
@ПавелКесарев-й8г Жыл бұрын
т.е в азуре можно нахаляву что-то разместить?
@JamesMontemagno
@JamesMontemagno Жыл бұрын
Yes, there is A LOT in Azure for Free: azure.microsoft.com/free/
@jonaszjonasz5752
@jonaszjonasz5752 Жыл бұрын
Azure static web is free for 12 months only
@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 Жыл бұрын
i get the same error. any ideas? did you end up fixing it?
@zarokoshin4090
@zarokoshin4090 Жыл бұрын
@@DilkielGaming no :(
@jimnorth9902
@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
@JamesMontemagno Жыл бұрын
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
@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.
@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!
@Pablobdg
@Pablobdg 6 ай бұрын
Can I also upload Blazor Web App?
@JamesMontemagno
@JamesMontemagno 6 ай бұрын
As long as it is web assembly only.
@emreaka3965
@emreaka3965 Жыл бұрын
🎉❤
@ticu10
@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
@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
@francisdy7294 Жыл бұрын
I can do it without going to azure
@skillfulactor09
@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
@CasalGamerGG
@CasalGamerGG 8 күн бұрын
Use a temporary credit card this way You make sure it never happens
New API back-end options in Azure Static Web Apps | Azure Friday
20:05
Microsoft Azure
Рет қаралды 17 М.
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 8 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 115 МЛН
Deploy Blazor websites to the cloud with Azure Static Web Apps - Beginner's Guide
38:50
Publishing a .NET Core Web App to Azure with VS 2022 (It's SO EASY)
6:15
Primary Constructors in C# 12 Explained!
9:39
James Montemagno
Рет қаралды 24 М.
How to Deploy Blazor WebAssembly to GitHub Pages
16:06
Swimburger
Рет қаралды 10 М.
.NET MAUI's Navigation for Beginners - Push, Pop, & Pass Objects
21:36
James Montemagno
Рет қаралды 69 М.
Master Azure Magic: Deploy Blazor to Cloud in Minutes! 🔥🚀
24:19
Mastering .NET MAUI SwipeView for Enhanced App Experience
18:36
James Montemagno
Рет қаралды 16 М.
Run Blazor Web Assembly in Docker!
14:46
ScriptBytes
Рет қаралды 9 М.