Support for Azure Static Web Applications – Visual Studio Magazine


New for Blazor: Support for Azure Static Web Apps

As Blazor takes the world of .NET web development by storm, one of the first announcements at Microsoft’s Ignite 2020 developer/IT event was its new support in Azure Static Web Apps.

Blazor, of course, allows C#-based web development (instead of JavaScript) with both client-side (Blazor WebAssembly) and server-side (Blazor Server) components.

    Azure Static Web Applications

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

Azure Static Web Apps, announced at the developer-focused Build event earlier this year, automates the building of complete web applications, using Azure Functions (event-driven and serverless computing) that are triggered from GitHub actions in a repository.

“As of today, Azure Static Web Apps now has premier support for Blazor WebAssembly and .NET functions in preview, available in all supported regions,” said Aaron Powell of the ASP team. .NET, who added that such support has been one of the top user requests for Azure Static Web Apps since its inception.

A Microsoft update provided more information: “Static Web Apps provides a seamless experience for deploying static sites and serverless APIs. With new support for Blazor WebAssembly and C# APIs powered by Azure Functions, developers can create and publish applications built entirely in .NET with Static Web Applications.”

Microsoft also announced support for Python APIs.

“With these updates, JavaScript, C#, and Python developers can use Azure Static Web Apps to automatically build and deploy complete apps from a GitHub repository. Static Web Sites also provides built-in features such as custom domains, free SSL certificates, global content distribution, and authentication.”

More information is provided in Powell’s blog post – where he presents an example deployment – and in a quick start guide. Both GitHub and Azure accounts, of course, must follow.

For more Microsoft Ignite 2020 coverage from Visual Studio magazine and sister sites, see:

About the Author

David Ramel is an editor and writer for Converge360.

Comments are closed.