News

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 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