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

preview_player
Показать описание
I love Azure Static Web apps and use them to deploy and host my Blazor WebAssembly website for FREE to Azure. Visual Studio 17.7 Preview 1 just dropped and has made it super simple to deploy with Right Click - Publish! I love it and today I want to show you how you can get setup deploying in minutes.

Links:

Join this channel to get access to perks:

Follow:

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

Chapters:
00:00 - Intro
01:10 - Creating a Blazor WebAssembly website
01:50 - Create Azure Static Web App
03:30 - Deploy Azure Static Web App
05:2- Wrap-up

My Setup:

#blazor #dotnet #visualstudio #aspnetcore #staticwebsite #azurestaticwebapps #azure #azuredevelopers
Рекомендации по теме
Комментарии
Автор

As usual, awesome video. Love your enthusiasm!

pbible
Автор

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

jproussel
Автор

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

ericblankenburg
Автор

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

omerfarukkaya
Автор

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

mohammedMusabKhan
Автор

you are a real hero Thank you. amazing content

joseenmanuel
Автор

I got this error

✖ swa deploy <outputLocation> 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.

TA_Solutions
Автор

Back to following you aging 😊, nice feature 👍

ATNL
Автор

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

alessiotucci
Автор

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

ecblanco
Автор

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

skillfulactor
Автор

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

amandoolcinasegui
Автор

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

ticu
Автор

Thanks for all the videos it helped a lot!! However, in this instance when i select publish i get this

✖ swa deploy <outputLocation> 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? :(

zarokoshin
Автор

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

nitrogenius
Автор

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

adamoneil
Автор

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

okpidgy
Автор

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?

jimnorth
Автор

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

justinnelson