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 for Converge360.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube