.NET 6 is the latest version of .NET and it’s generally available today. The Azure Static Web Apps team is excited to announce that you can now run full-stack .NET 6 apps on Static Web Apps!
What is Azure Static Web Apps?
Azure Static Web Apps is a service that automatically builds and deploys full-stack web apps to Azure from a code repository. It supports popular frontend frameworks, including Blazor WebAssembly.
If you need a backend API, you can add Azure Functions to your project’s repository.
Each time you push changes to your repository, Azure Static Web Apps automatically builds and deploys both your frontend app and backend API.
Azure Static Web Apps has everything you need to run a modern web app, including global distribution, built-in authentication, routing rules, staging environments, custom domains, and free TLS certificates.
.NET 6 and Azure Static Web Apps
Azure Static Web Apps has full support for Blazor WebAssembly. It automatically detects and builds Blazor WebAssembly projects. With .NET 6, Static Web Apps also supports advanced features such as ahead-of-time (AOT) compilation which compiles your entire Blazor application to native WebAssembly for maximum performance.
Static Web Apps has also added support for .NET 6 Azure Functions. Both Azure Functions .NET execution models—in-process and isolated process—are supported.
By using .NET 6 for your entire stack, you can leverage the latest language and runtime improvements in .NET, and you can seamlessly share code between your Blazor WebAssembly app, Azure Functions, and other .NET applications.
.NET 6 on Azure
Azure Static Web Apps joins Azure Web Apps and Azure Functions who also announced .NET 6 support today.
Try .NET 6 in Azure Static Web Apps today
Azure Static Web Apps has a generous Free plan that has everything you need to get started. Check out this tutorial to learn how to deploy a static web app with .NET 6 Blazor WebAssembly and Azure Functions.
And don’t miss our session at .NET Conf—"Full-stack .NET with Blazor WebAssembly and Azure Static Web Apps"—streaming live on November 10 at 18:30 UTC (10:30 PST) and available on-demand following the conference!
Update – November 8, 2021 23:00 UTC
.NET 6 GA is has been fully deployed to our platform. Platform optimizations will be rolling out for .NET 6 API function apps throughout this week. You may occasionally experience longer cold start in your .NET 6 API functions until the enhancements are fully deployed.