Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 581
Mark Homer Avatar asked Dec 07 '25 10:12

Mark Homer


2 Answers

From my point of view the main differences are:

Feature In-process Isolated process
Development packages Microsoft.NET.Sdk.Functions (developed since 2017) Newer, improved Microsoft.Azure.Functions.Worker (developed since 2021)
Middleware Not supported Supported
Cold start time 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.

like image 70
Kuba Szostak Avatar answered Dec 10 '25 04:12

Kuba Szostak


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.