New for Blazor: Azure Static Web Apps Support

With Blazor taking the .NET web development world by storm, one of the first announcements during Microsoft's Ignite 2020 developer/IT event was its new support in Azure Static Web Apps.

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

 Azure Static Web Apps

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

Azure Static Web Apps, announced at the developer-focused Build event earlier this year, automates the creation of full-stack web apps, using Azure Functions (event-driven, serverless computing) that are triggered from GitHub Actions in a repo.

"As of today, Azure Static Web Apps now has first-class support for Blazor WebAssembly and .NET Functions in preview, available in all supported regions," said Aaron Powell of the ASP.NET team, who added such support was one of the top user requests for Azure Static Web Apps since it debuted.

A Microsoft update provided more information: "Static Web Apps offers a seamless experience for deploying static sites and serverless APIs. With the new support for Blazor WebAssembly and C# APIs powered by Azure Functions, Developers can build and publish applications built entirely in .NET with Static Web Apps."

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 full stack applications from a GitHub repository. Static Web Sites also provides integrated features such as custom domains, free SSL certificates, global content distribution, and authentication."

More information is provided in Powell's blog post -- where he runs through an example deployment -- and in a Quickstart guide. GitHub and Azure accounts, of course, are required to follow along with both.

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

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • New Visual Studio Razor Editor 'Close to Being Ready' for Blazor and Other Projects

    The experimental Razor editor for Visual Studio introduced last summer has been updated and is "close to being ready for normal daily development."

  • Microsoft Updates 'Must Have' Xamarin Community Toolkit

    The Xamarin Community Toolkit provides all kinds of effects, views and helpers to complement mobile app development with Microsoft's recently released, open source, cross-platform Xamarin.Forms 5.

  • JetBrains Unveils Plans for WinForms, WPF and More in Rider .NET IDE

    JetBrains announced plans for Windows Forms, Windows Presentation Foundation (WPF), ASP.NET and more tooling in the next release of its popular Rider IDE for .NET development.

  • Multi-Class Classification Using PyTorch: Model Accuracy

    Dr. James McCaffrey of Microsoft Research continues his four-part series on multi-class classification, designed to predict a value that can be one of three or more possible discrete values, by explaining model accuracy.

Upcoming Events