Creating Azure Functions Targeting .NET 7

I don’t see .NET 7 Isolated as an option when I try to create a new Azure Functions app in Visual Studio 17.4 (Windows version).

Any idea why?

>Solution :

To use the Isolated model, you shall set your environment variable FUNCTIONS_WORKER_RUNTIME to dotnet-isolated and use these NuGet packages:

  • Microsoft.Azure.Functions.Worker
  • Microsoft.Azure.Functions.Worker.Sdk

More info here and especially here, where you can find lot of samples (with .NET7 too!)

Leave a Reply