News

Azure Static Web Apps Goes GA

Call it low-code for the web: Azure Static Web Apps has reached general availability, providing a quick onramp to full-stack projects with static front ends and dynamic back ends powered by Azure Functions serverless computing.

The project, announced in preview during Microsoft's 2020 Build conference, lets developers use a variety of front-end frameworks or site generators to create the static, customer-facing component of a full-stack web app. To simplify the process, the turnkey service provides pre-built and pre-rendered static pages. To even further simplify things, no server work is required, as dynamic back-ends can be created via serverless computing, namely Azure Functions, in which code blocks are typically executed in response to actions or events. Yet even more simplification is provided with a Visual Studio Code extension, still in preview.

Azure Static Web Apps
[Click on image for larger view.] Azure Static Web Apps (source: Microsoft).

What's more, continuing on the low-code theme, authentication and authorization functionality is baked in with a free, fully managed, automatically renewed SSL certificate. Apps can also be hooked into DevOps schemes like GitHub and Azure DevOps.

While Azure Static Web Apps started out with a strictly JavaScript focus, Blazor support was added in September 2020, allowing C#-based projects.

Thus the gamut of more than two dozen front-end frameworks that can be used to create static web pages includes: Angular, React, Svelte, Vue, Blazor, Flutter and so on. The graphic below shows how developers are prompted to choose a build preset to configure a default project structure:

Build Presets
[Click on image for larger view.] Build Presets (source: Microsoft).

Microsoft also announced a new preview Azure Static Web Apps CLI as a local development tool that replicates the cloud production environment, serving as a mocked hosting platform to work with authentication, custom routing and authorization rules.

So the full range of features of the service highlighted by Microsoft includes:

  • Globally distributed content for production apps
  • Tailored CI/CD workflows from code to cloud
  • Auto-provisioned preview environments
  • Custom domain configuration and free SSL certificates
  • Built-in access to a variety of authentication providers
  • Route-based authorization
  • Custom routing
  • Integration with serverless APIs powered by Azure Functions
  • A custom Visual Studio Code developer extension
  • A feature-rich CLI for local development

Pricing options include a free offering for hobbies or personal projects, while the standard general-purpose plan costs $9 per app per month along with bandwidth overage fees.

"Azure Static Web Apps is a great option to accelerate the development and time to market for full-stack modern web apps using commonly built libraries and frameworks like Angular, React, Svelte, Vue, or Blazor," said Daria Grigoriu, Principal PM Manager, Azure Static Web Apps, in a May 12 announcement.

One reader agreed in a comment: "This is great news! Azure Static Web Apps are simple way to get web content up and live with Azure Functions backends. You commit to GitHub and GitHub Actions once configured auto builds and deploys the site to Azure :)"

You can learn more with Azure Static Web Apps documentation.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube