This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.
Today, the Azure Functions team announced the public preview of Azure Functions version 4.0. The most notable feature of this new runtime is support for .NET 6.0.
Getting started with .NET 6 on Azure Functions
Azure Functions has two programming models for .NET—in-process and isolated process.
With the in-process programming model and Azure Functions 4.0, you can write .NET 6 function apps that take advantage of advanced features such as Durable Functions. See the documentation to learn more:
.NET 6 is also supported in Azure Functions 4.0 using the isolated process programming model. The isolated model gives you full control over the language worker startup configuration and provides useful features like dependency injection and middleware. Currently, you can use the command line to create and deploy your .NET 6 isolated apps. .NET 6 isolated process support is coming soon to Visual Studio and Visual Studio Code.
While the new runtime is currently in preview, you won't have to wait long to run .NET 6 function apps in production. Azure Functions 4.0 is expected to be generally available when .NET 6 LTS is released in early November.
Migrating your apps to Azure Functions 4.0 preview
The 4.0 runtime supports all Azure Functions languages. To run your apps locally on the preview runtime, download Azure Functions Core Tools 4.0 preview. See the Azure Functions versions documentation to learn more about what’s new in the 4.0 preview and how to migrate your apps.
Also, watch for a new Azure Functions Live webcast coming soon to YouTube and Microsoft Learn TV.