Web sites

Microsoft releases Azure Static Web Apps to general availability

Microsoft recently announced the general availability (GA) of Azure Static Web Apps, a serverless web application hosting service for static web applications. The service provides developers with a package that works for static web applications, which Azure manages for them.

Last year at the Build conference, the company showcased Static Web Apps as a public preview, including integration with GitHub and features such as authentication and authorization capabilities, routes, preview in pre-production environments and custom domains. Later in September, support for Blazor WebAssembly and .NET functions was added by Microsoft. And now the service is GA and includes a free, standard plan for advanced features supported by an enterprise Service Level Agreement (SLA).

Along with the new hosting plans, the GA version includes a few other new features such as:

Additionally, since Azure Static Web Apps integrates with Azure Functions, developers can choose to extend their application with serverless API endpoints. In an Azure blog post on the GA release, Daria GrigoriuSenior PM Manager, Azure Static Web Apps said:

Starting with this release, you can even bring an existing Azure Functions project and use it as an API. This allows you to take advantage of the full set of triggers, bindings, and extensions offered by Azure Functions. Azure Functions scales dynamically so your application is always ready to meet market demand.

Source: https://azure.microsoft.com/en-us/blog/develop-production-scale-modern-web-apps-quickly-with-azure-static-web-apps/

With a bespoke VS Code extension, developers can build static web apps and take advantage of libraries and frameworks such as Angular, React, Svelte, Vue, or Blazor. Besides, Raphael Riverasenior software engineer at Telos Corporation, said in a Tweeter:

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!

Other static web application services similar to Azure static web applications are Netifly, Vercel, and Cloudflare Pages. The latter became GA in April, while Netifly and Vercel have been available for some time. In a blog post by Office Development MVP Elio Struyf comparing Netifly, Vercel and Azure Static Web Apps, his conclusion was:

Ultimately, all three services provide the same things. It will be up to you to see what will best suit your site that you want to host. If I had to choose, I would consider these questions:

Do you want simple and fast hosting? Opt for Vercel.
Want additional features like form and identity management? Opt for Netlify.
Already using Azure? Want full control over deployments? Opt for Azure Static Web Apps.

Finally, Azure Static Web Apps pricing details are available on the pricing page, including service availability – which is global. Developers can find more information in available quickstarts, guides, and tutorials.