Azure Static Web Apps extended support for .NET Core 3.1 ends on 3 December 2022
Published date: 07 October, 2022
.NET Core 3.1 will reach the end of support on 13 December 2022. As a result, extended support for .NET Core 3.1 in Azure Static Web Apps that use Azure Functions will end on 3 December 2022. After this date, your existing static web apps that use Azure Functions will continue to work, but security patches and customer service for .NET Core 3.1 will no longer be provided.
Azure Functions announced their end of support for .NET Core 3.1 in March 2022. Since the managed functions hosted by Azure Static Web Apps run on Azure Functions, we recommend you update your functions applications to runtime version 4.x, which uses .NET 6.
.NET 6 is the latest version with long-term support and provides these enhancements:
A unified set of base libraries and an SDK that makes it easy to share code across any application type.
Simplified development with new C# 10 features and minimal APIs.
Hot reload that allows you to make code changes without explicit recompiling.
To avoid potential service disruptions or security vulnerabilities, update your applications to runtime version 4.x before 3 December 2022.
Change the api runtime from .NET Core 3.1 to .NET 6, please configure the apiRuntime version in staticwebapp.config.json as explained here.
Follow this documentation to update your local project from .NET Core 3.1 to .NET 6.
To learn more about Azure Functions runtime support policy, check out this documentation.