Difference .net 6 and .net 6 isolated for Azure Function Apps

Mar*_*mer 16 azure azure-functions dotnet-isolated

With Azure functions what is the difference of using .net 6 and .net 6 isolated?

Kub*_*tak 9

从我的角度来看,主要区别是:

特征 进程中 孤立的进程
开发包 Microsoft.NET.Sdk.Functions(自 2017 年开发) 更新、改进的Microsoft.Azure.Functions.Worker(自 2021 年开发)
中间件 不支持 支持的
冷启动时间 Regular Just In Time (JIT) latency JIT + additionally process launch

More details on about differences between in-process and isolate worker process .NET Azure Functions you can find in documentation.


小智 7

1st Major term between them is .NET 6 belongs to In Process and Isolated belongs to Out-of-Process runtime of the Azure Functions.

Azure Functions .NET Isolated Process official documentation provides you the context on why to use Isolated and benefits of it over In-Process Runtime Languages like .NET 6.

Few Points on .NET 6 vs .NET 6 Isolated on Azure Functions:

  1. Tight coupling between the host process and the .NET Function in In-Process runtime because .NET Class libraries share binding APIs & types.

  2. Isolated .NET Function Project is an console app that gives you access to the star-up of the function app.

Another Microsoft Doc providing the details on functional & behavioral differences wise for running the functions on out-of-process and in-process.