Microsoft Introduces App Service Static Web Apps in Preview in 2020
At this year’s Digital Build event, Microsoft announced that it has extended Azure App Service with a new hosting offering explicitly tailored to static web applications. The hosting offering is called Azure Static Web Apps and is currently in preview.
The static web application provides a unified workflow, taking you from your source code to global availability. Everything is fully managed for you. And all the different aspects of configuration are available to you with a single click.
Additionally, according to Girgoriu’s announcement blog post, Azure Static Web Apps offers developers the following benefits:
- Use frameworks like Angular, React, Svelte, and Vue or static site builders like Gatsby when looking for a simple interface to deploy cloud resources.
- Move dynamic logic to serverless APIs to unlock dynamic scale that can adapt to real-time demand.
Along with easy deployment and integration with GitHub, the service also offers authentication and authorization capabilities, routes, preview in pre-production environments, and custom domains. The Combined Azure Static Web App provides developers with a package that works for static web apps, which Azure manages for them.
Don’t ignore Azure Static Web Apps. It’s like GitHub pages on steroids. You push your content to GitHub, and it handles SSL, hooks up web APIs (az functions!), serves static content, and even handles authentication (AAD, FB, G, TWIT, etc.) for you. Mad!
And like John DadMicrosoft’s top developer advocate, wrote in his Azure Static Web Apps blog post:
Oh, there’s so much more you can do! You can add a custom domain with SSL certificate, authentication, and authorization. You can make a change in a new branch, make a pull request, then have the GitHub action build and deploy your changes to a staging/preview URL!
Previously, developers could build and host a static web application using multiple Azure components, such as Azure Storage for static content. However, developers had to do a lot themselves, and management is difficult, as Mitch Webster, senior engineering manager for Apps Service, said during another Microsoft Build session on Azure Static Web Apps. :
In the past, when we used a variety of different services in Azure, it was a bit difficult to manage, and it can be hard to get the first time. A big goal of this project is to streamline this and make things as simple as possible.
Currently, App Service static web apps are available in the US Central, US East 2, US West 2, East Asia, and West Europe Azure regions. The preview starts with a free plan. Additionally, developers can visit the quickstart to try and explore Static Web Apps – and a visual code extension for Azure Static Web Apps is available in the market.