DEV Community

Cover image for Six minutes to learn Azure Static Web Apps
Burke Holland for Microsoft Azure

Posted on

Six minutes to learn Azure Static Web Apps

Another day, another new thing to learn. That's the great thing about programming - if you don't like things, just wait 24 hours and it will all change.

One of those new things is Azure Static Web Apps; a new service for deploying and hosting Static Web Apps with Serverless APIs. But how does it work? What is a "static web app"? Why am I turning into my father when I SWORE that would never happen?

To help you get up to speed, I've made a six minute(ish) video to help you get up and running with Azure Static Web Apps with the quickness.

For more answers to all your burning Static Web Apps questions, check out the Azure Static Web Apps Docs.

If you want to get started now, head over to the interactive tutorial for JavaScript Frameworks, or the interactive tutorial for static site generators. Unfortunately, there is no interactive tutorial for "mid-life crisis".

Oldest comments (10)

Collapse
 
shaijut profile image
Shaiju T

Wow 😄 , Learned so much in just 6 minutes of video , Thank you. Question: What if I want to deploy a online business website using Azure Static Web App ? How is that possible because Github is only for developers ? Can we connect Azure Static Web App to some other hosting or Azure itself can host my files ?

Collapse
 
burkeholland profile image
Burke Holland

Right now it's just Github. Although we've received a lot of feedback that people would like other providers as well. Which source control would you want to use? Or direct publish?

Collapse
 
shaijut profile image
Shaiju T

Below is the sentence from Github Pages GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

So how can one use Github repository as free web hosting service to run online business or e-commerce site which includes commercial gain ?

Thread Thread
 
cschotte profile image
Clemens Schotte

You can also host a static site from a Azure storage account. No restrictions. clemens.ms/hosting-a-static-site-o...

Collapse
 
shaijut profile image
Shaiju T

Also can I use Azure as hosting service ? . Like Azure App Service. I think Azure App Service will be heavy for static pages, because it's used to host .NET application.

Collapse
 
shaijut profile image
Shaiju T

Waiting for answers :)

Collapse
 
shaijut profile image
Shaiju T

The video was good 😄, What tools did you used to record and Edit ? Did you did Voice over while recording or after recording ?

Collapse
 
shaijut profile image
Shaiju T • Edited

Also I am curious about the cost. What if I use Azure for just deploying HTML pages in Azure Static Web App Will the cost be lower than Godaddy Windows hosting ?

Collapse
 
burkeholland profile image
Burke Holland

It is free during preview. Once it reaches GA (general availability) more formal pricing information will be available.

Collapse
 
hecticobernal profile image
tolo76

I´ve to say this kinda answer make me think if I want to dedicate effort to early migrate real-life sites/apps to these amazing technologies, at least until seeing formal pricing