.NET on Azure Functions Roadmap

Published 03-10-2021 09:00 AM 27.7K Views
Microsoft

dotnet-functions-cover.png

 

Today, we announced support for running production .NET 5 apps on Azure Functions. With this release, we now support running .NET functions in a standalone process. Running in an isolated process decouples .NET functions from the Azure Functions host—allowing us to more easily support new .NET versions and address pain points associated with sharing a single process. However, creating this new isolated process model required significant effort and we were unable to immediately support .NET 5. This delay was not due to lack of planning or prioritization, but we understand the frustration from those of you who wished to move application architectures to the latest bits and weren't able to do so until Azure Functions could run .NET 5.

 

One of our learnings during this release was the need for us to be more proactive and open about our plans and roadmap, specifically with .NET. In this post we’ll go into details on this new isolated process model for .NET function apps and share our roadmap for supporting future versions of .NET.

 

.NET isolated process—a new way to run .NET on Azure Functions

 

The Azure Functions host is the runtime that powers Azure Functions and runs on .NET and .NET Core. Since the beginning, .NET and .NET Core function apps have run in the same process as the host. Sharing a process has enabled us to provide some unique benefits to .NET functions, most notably is a set of rich bindings and SDK injections. A .NET developer is able to trigger or bind directly to the SDKs and types used in the host process—including advanced types like CloudBlockBlob from the Storage SDK or Message from the Service Bus SDK—allowing users to do more in .NET functions with less code.

 

However, sharing the same process does come with some tradeoffs. In earlier versions of Azure Functions, dependencies could conflict (notable conflicting libraries include Newtonsoft.Json). While flexibility of packages was largely addressed in Azure Functions V2 and beyond, there are still restrictions on how much of the process is customizable by the user. Running in the same process also means that the .NET version of user code must match the .NET version of the host. These tradeoffs of sharing a process motivated us to choose an out-of-process model for .NET 5.

 

Other languages supported by Azure Functions use an out-of-process model that runs a language worker in a separate, isolated process from the main Azure Functions host. This allows Azure Functions to rapidly support new versions of these languages without updating the host, and it allows the host to evolve independently to enable new features and update its own dependencies over time.

 

Today’s .NET 5 release is our first iteration of running .NET in a separate process. With .NET now following an annual release cadence and .NET 5 not being a long-term supported (LTS) release, we decided this is the right time to begin this journey.

 

A .NET 5 function app runs in an isolated worker process. Instead of building a .NET library loaded by our host, you build a .NET console app that references a worker SDK. This brings immediate benefits: you have full control over the application’s startup and the dependencies it consumes. The new programming model also adds support for custom middleware which has been a frequently requested feature.

 

While this isolated model for .NET brings the above benefits, it’s worth noting there are some features you may have utilized in previous versions that aren’t yet supported. While the .NET isolated model supports most Azure Functions triggers and bindings, Durable Functions and rich types support are currently unavailable. Take a blob trigger for example, you are limited to passing blob content using data types that are supported in the out-of-process language worker model, which today are string, byte[], and POCO. You can still use Azure SDK types like CloudBlockBlob, but you’ll need to instantiate the SDK in your function process.

 

Many of these temporary gaps will close as the new isolated model continues to evolve. However, there are no current plans to close any of these gaps in the .NET 5 timeframe. They will more likely will land in 2022. If any of these limitations are blocking, we recommend you continue to use .NET Core 3.1 in the in-process model.

 

.NET 5 on Azure Functions

 

You can run .NET 5 on Azure Functions in production today using the .NET isolated worker. Currently, full tooling support is available in Azure CLI, Azure Functions Core Tools, and Visual Studio Code. You can edit and debug .NET 5 projects in Visual Studio; full support is in progress and estimated to be available in a couple of months.

 

Future of .NET on Azure Functions

 

dotnet-functions-roadmap.png

 

One of the most frequent pieces of feedback we’ve received is that Azure Functions needs to support new versions of .NET as soon as they’re available. We agree, and we have a plan to provide day 1 support for future LTS and non-LTS .NET versions.

 

.NET 6 LTS

 

.NET 6 functions will support both in-process and isolated process options.  The in-process option will support the full feature set available in .NET Core 3.1 functions today, including Durable Functions and rich binding types. The isolated process option will provide an upgrade path for apps using this option for .NET 5 and initially will have the same feature set and limitations.

 

A few weeks ago, the .NET team released the first preview of .NET 6. In the first half of 2021, we will deliver a version of the Azure Functions host for running functions on .NET 6 preview using the in-process model. The initial preview of .NET 6 on Azure Functions will run locally and in containers. In the summer, we expect .NET 6 preview to be available on our platform and you’ll be able to deploy .NET 6 preview function apps without the use of containers.

 

On the same day .NET 6 LTS reaches general availability in November, you’ll be able to deploy and run .NET 6 Azure Functions.

 

.NET 7 and beyond

 

Long term, our vision is to have full feature parity out of process, bringing many of the features that are currently exclusive to the in-process model to the isolated model. We plan to begin delivering improvements to the isolated model after the .NET 6 general availability release.

 

.NET 7 is scheduled for the second half of 2022, and we plan to support .NET 7 on day 1 exclusively in the isolated model. We expect that you’ll be able to migrate and run almost any .NET serverless workload in the isolated worker—including Durable Functions and other targeted improvements to the isolated model.

 

.NET Framework

 

Currently, .NET Framework is supported in the Azure Functions V1 host. As the isolated model for .NET continues to evolve, we will investigate the feasibility of running the .NET isolated worker SDK in .NET Framework apps. This could allow users to develop apps targeting .NET Framework on newer versions of the functions runtime.

 

 

We are thrilled by the adoption and solutions we see running on Azure Functions today, accounting for billions of function executions every day.  We are deeply grateful for the .NET community, many of you have been with us since day 1. Our hope is that this post gives clarity on our plans for supporting future versions of .NET on Azure Functions and evolving the programming model.  Supporting our differentiated features while removing the constraints of the in-process model is a non-trivial task, and we plan to be open and communicative throughout the journey.  We’ll be conducting a special .NET roadmap webcast on March 25 where we will make time to answer any questions you may have.

 

To get started building Azure Functions in .NET 5, check out Develop and publish .NET 5 functions.

 

 

12 Comments
Frequent Visitor

Good news, from a security POV, process isolation mode it's a must when available - unless I'm missing something here. :p

 

And the fact that we would be able to use. Net code as soon as the new version is release in Azure Function would help a lot at keeping updated code at the same level -that's not an easy task sometimes :) 

New Contributor

Thanks for this detailed information. But for the avoidance of doubt, is it the expectation the next version in which durable NET functions will be supported will be NET7 in H2 2022?

Occasional Visitor

Wait... wut? According to the documentation the nuget package Microsoft.Azure.Functions.Worker is required. I'm not sure why it need everything including the kitchen sink, but okay... I guess? Like why would I need to log to the windows EventLog?

 

Installing:

Azure.Core.1.10.0
Google.Protobuf.3.15.5
Grpc.Core.Api.2.35.0
Grpc.Net.Client.2.35.0
Grpc.Net.ClientFactory.2.35.0
Grpc.Net.Common.2.35.0
Microsoft.Azure.Functions.Worker.1.0.0
Microsoft.Azure.Functions.Worker.Core.1.0.0
Microsoft.Azure.Functions.Worker.Grpc.1.0.0
Microsoft.Bcl.AsyncInterfaces.1.0.0
Microsoft.Extensions.Configuration.5.0.0
Microsoft.Extensions.Configuration.Abstractions.5.0.0
Microsoft.Extensions.Configuration.Binder.5.0.0
Microsoft.Extensions.Configuration.CommandLine.5.0.0
Microsoft.Extensions.Configuration.EnvironmentVariables.5.0.0
Microsoft.Extensions.Configuration.FileExtensions.5.0.0
Microsoft.Extensions.Configuration.Json.5.0.0
Microsoft.Extensions.Configuration.UserSecrets.5.0.0
Microsoft.Extensions.DependencyInjection.5.0.0
Microsoft.Extensions.DependencyInjection.Abstractions.5.0.0
Microsoft.Extensions.FileProviders.Abstractions.5.0.0
Microsoft.Extensions.FileProviders.Physical.5.0.0
Microsoft.Extensions.FileSystemGlobbing.5.0.0
Microsoft.Extensions.Hosting.5.0.0
Microsoft.Extensions.Hosting.Abstractions.5.0.0
Microsoft.Extensions.Http.3.0.3
Microsoft.Extensions.Logging.5.0.0
Microsoft.Extensions.Logging.Abstractions.5.0.0
Microsoft.Extensions.Logging.Configuration.5.0.0
Microsoft.Extensions.Logging.Console.5.0.0
Microsoft.Extensions.Logging.Debug.5.0.0
Microsoft.Extensions.Logging.EventLog.5.0.0
Microsoft.Extensions.Logging.EventSource.5.0.0
Microsoft.Extensions.Options.5.0.0
Microsoft.Extensions.Options.ConfigurationExtensions.5.0.0
Microsoft.Extensions.Primitives.5.0.0
Microsoft.NETCore.Platforms.5.0.0
Microsoft.Win32.Registry.5.0.0
System.Buffers.4.5.0
System.Diagnostics.DiagnosticSource.4.6.0
System.Diagnostics.EventLog.5.0.0
System.Memory.4.5.3
System.Memory.Data.1.0.1
System.Numerics.Vectors.4.5.0
System.Runtime.CompilerServices.Unsafe.4.5.2
System.Security.AccessControl.5.0.0
System.Security.Principal.Windows.5.0.0
System.Text.Json.4.6.0
System.Threading.Tasks.Extensions.4.5.2

 

Microsoft

@gonkers Can you please file an issue here to discuss? Thanks. https://github.com/Azure/azure-functions-dotnet-worker/issues

Microsoft

@baouss The in-process .NET 6 release will have Durable Functions. This is coming in preview this summer, and GA in November 2021.

 

For the isolated process .NET worker, we do not have a confirmed date for Durable Functions but we expect it to arrive sometime in 2022, perhaps earlier. When it arrives, you can use it with .NET 6 or later.

Regular Visitor

Take a blob trigger for example, you are limited to passing blob content using data types that are supported in the out-of-process language worker model, which today are string, byte[], and POCO. You can still use Azure SDK types like CloudBlockBlob, but you’ll need to instantiate the SDK in your function process.

 

What is the impact of this on the memory cost of the function? Will it be included in the memory size as we are explicitly instantiating the SDK or will it be considered as part of the hosting process/environment?

New Contributor

When will Visual Studio 2019 have proper tooling and support?

Microsoft

@mwwhited That should arrive in VS 2019 v16.10 in ~May.

Occasional Visitor

Is there a sample of integrating SignalR with the .Net 5 and the isolated process?  If not could you provide guidance on how to integrate SignalR with .net 5 AZ functions?

Microsoft

@Michael Gerfen Take a look at this video for a walk through. Over time we will add more samples and content, but hopefully that’s enough to get you started. https://youtu.be/zVKc5g0Jz6Q

Occasional Visitor

This video was quite helpful, thanks @Anthony Chu.  In particular, I hadn't been able to find an updated prototype/implementation for the Negotiate function using the .NET 5 isolated process extensions; it would be great to make that code block available somewhere in the documentation.

Occasional Visitor

Is there a guide on updating Az Function to .Net 5?

%3CLINGO-SUB%20id%3D%22lingo-sub-2197916%22%20slang%3D%22en-US%22%3E.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2197916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22dotnet-functions-cover.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F262321i20605EF51F56D767%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22dotnet-functions-cover.png%22%20alt%3D%22dotnet-functions-cover.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EToday%2C%20we%20announced%20support%20for%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fupdates%2Fgeneral-availability-azure-functions-supports-net-5-in-production%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Erunning%20production%20.NET%205%20apps%20on%20Azure%20Functions%3C%2FA%3E.%20With%20this%20release%2C%20we%20now%20support%20running%20.NET%20functions%20in%20a%20standalone%20process.%20Running%20in%20an%20isolated%20process%20decouples%20.NET%20functions%20from%20the%20Azure%20Functions%20host%E2%80%94allowing%20us%20to%20more%20easily%20support%20new%20.NET%20versions%20and%20address%20pain%20points%20associated%20with%20sharing%20a%20single%20process.%20However%2C%20creating%20this%20new%20isolated%20process%20model%20required%20significant%20effort%20and%20we%20were%20unable%20to%20immediately%20support%20.NET%205.%20This%20delay%20was%20not%20due%20to%20lack%20of%20planning%20or%20prioritization%2C%20but%20we%20understand%20the%20frustration%20from%20those%20of%20you%20who%20wished%20to%20move%20application%20architectures%20to%20the%20latest%20bits%20and%20weren't%20able%20to%20do%20so%20until%20Azure%20Functions%20could%20run%20.NET%205.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20our%20learnings%20during%20this%20release%20was%20the%20need%20for%20us%20to%20be%20more%20proactive%20and%20open%20about%20our%20plans%20and%20roadmap%2C%20specifically%20with%20.NET.%20In%20this%20post%20we%E2%80%99ll%20go%20into%20details%20on%20this%20new%20isolated%20process%20model%20for%20.NET%20function%20apps%20and%20share%20our%20roadmap%20for%20supporting%20future%20versions%20of%20.NET.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500333391%22%20id%3D%22toc-hId--500147792%22%3E.NET%20isolated%20process%E2%80%94a%20new%20way%20to%20run%20.NET%20on%20Azure%20Functions%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Functions%20host%20is%20the%20runtime%20that%20powers%20Azure%20Functions%20and%20runs%20on%20.NET%20and%20.NET%20Core.%20Since%20the%20beginning%2C%20.NET%20and%20.NET%20Core%20function%20apps%20have%20run%20in%20the%20same%20process%20as%20the%20host.%20Sharing%20a%20process%20has%20enabled%20us%20to%20provide%20some%20unique%20benefits%20to%20.NET%20functions%2C%20most%20notably%20is%20a%20set%20of%20rich%20bindings%20and%20SDK%20injections.%20A%20.NET%20developer%20is%20able%20to%20trigger%20or%20bind%20directly%20to%20the%20SDKs%20and%20types%20used%20in%20the%20host%20process%E2%80%94including%20advanced%20types%20like%20CloudBlockBlob%20from%20the%20Storage%20SDK%20or%20Message%20from%20the%20Service%20Bus%20SDK%E2%80%94allowing%20users%20to%20do%20more%20in%20.NET%20functions%20with%20less%20code.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20sharing%20the%20same%20process%20does%20come%20with%20some%20tradeoffs.%20In%20earlier%20versions%20of%20Azure%20Functions%2C%20dependencies%20could%20conflict%20(notable%20conflicting%20libraries%20include%20Newtonsoft.Json).%20While%20flexibility%20of%20packages%20was%20largely%20addressed%20in%20Azure%20Functions%20V2%20and%20beyond%2C%20there%20are%20still%20restrictions%20on%20how%20much%20of%20the%20process%20is%20customizable%20by%20the%20user.%20Running%20in%20the%20same%20process%20also%20means%20that%20the%20.NET%20version%20of%20user%20code%20must%20match%20the%20.NET%20version%20of%20the%20host.%20These%20tradeoffs%20of%20sharing%20a%20process%20motivated%20us%20to%20choose%20an%20out-of-process%20model%20for%20.NET%205.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20languages%20supported%20by%20Azure%20Functions%20use%20an%20out-of-process%20model%20that%20runs%20a%20language%20worker%20in%20a%20separate%2C%20isolated%20process%20from%20the%20main%20Azure%20Functions%20host.%20This%20allows%20Azure%20Functions%20to%20rapidly%20support%20new%20versions%20of%20these%20languages%20without%20updating%20the%20host%2C%20and%20it%20allows%20the%20host%20to%20evolve%20independently%20to%20enable%20new%20features%20and%20update%20its%20own%20dependencies%20over%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EToday%E2%80%99s%20.NET%205%20release%20is%20our%20first%20iteration%20of%20running%20.NET%20in%20a%20separate%20process.%20With%20.NET%20now%20following%20an%20%3CA%20href%3D%22https%3A%2F%2Fdotnet.microsoft.com%2Fplatform%2Fsupport%2Fpolicy%2Fdotnet-core%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eannual%20release%20cadence%3C%2FA%3E%20and%20.NET%205%20not%20being%20a%20long-term%20supported%20(LTS)%20release%2C%20we%20decided%20this%20is%20the%20right%20time%20to%20begin%20this%20journey.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20.NET%205%20function%20app%20runs%20in%20an%20isolated%20worker%20process.%20Instead%20of%20building%20a%20.NET%20library%20loaded%20by%20our%20host%2C%20you%20build%20a%20.NET%20console%20app%20that%20references%20a%20worker%20SDK.%20This%20brings%20immediate%20benefits%3A%20you%20have%20full%20control%20over%20the%20application%E2%80%99s%20startup%20and%20the%20dependencies%20it%20consumes.%20The%20new%20programming%20model%20also%20adds%20support%20for%20custom%20middleware%20which%20has%20been%20a%20frequently%20requested%20feature.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20this%20isolated%20model%20for%20.NET%20brings%20the%20above%20benefits%2C%20it%E2%80%99s%20worth%20noting%20there%20are%20some%20features%20you%20may%20have%20utilized%20in%20previous%20versions%20that%20aren%E2%80%99t%20yet%20supported.%20While%20the%20.NET%20isolated%20model%20supports%20most%20Azure%20Functions%20triggers%20and%20bindings%2C%20Durable%20Functions%20and%20rich%20types%20support%20are%20currently%20unavailable.%20Take%20a%20blob%20trigger%20for%20example%2C%20you%20are%20limited%20to%20passing%20blob%20content%20using%20data%20types%20that%20are%20supported%20in%20the%20out-of-process%20language%20worker%20model%2C%20which%20today%20are%20string%2C%20byte%5B%5D%2C%20and%20POCO.%20You%20can%20still%20use%20Azure%20SDK%20types%20like%20CloudBlockBlob%2C%20but%20you%E2%80%99ll%20need%20to%20instantiate%20the%20SDK%20in%20your%20function%20process.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMany%20of%20these%20temporary%20gaps%20will%20close%20as%20the%20new%20isolated%20model%20continues%20to%20evolve.%20However%2C%20there%20are%20no%20current%20plans%20to%20close%20any%20of%20these%20gaps%20in%20the%20.NET%205%20timeframe.%20They%20will%20more%20likely%20will%20land%20in%202022.%20If%20any%20of%20these%20limitations%20are%20blocking%2C%20we%20recommend%20you%20continue%20to%20use%20.NET%20Core%203.1%20in%20the%20in-process%20model.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987179442%22%20id%3D%22toc-hId-1987365041%22%3E.NET%205%20on%20Azure%20Functions%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20run%20.NET%205%20on%20Azure%20Functions%20in%20production%20today%20using%20the%20.NET%20isolated%20worker.%20Currently%2C%20full%20tooling%20support%20is%20available%20in%20Azure%20CLI%2C%20Azure%20Functions%20Core%20Tools%2C%20and%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazure-functions-dotnet5-howto-vscode%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EVisual%20Studio%20Code%3C%2FA%3E.%20You%20can%20edit%20and%20debug%20.NET%205%20projects%20in%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazure-functions-dotnet5-howto-vs%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EVisual%20Studio%3C%2FA%3E%3B%20full%20support%20is%20in%20progress%20and%20estimated%20to%20be%20available%20in%20a%20couple%20of%20months.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179724979%22%20id%3D%22toc-hId-179910578%22%3EFuture%20of%20.NET%20on%20Azure%20Functions%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22dotnet-functions-roadmap.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F262318i4234B132C742509C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22dotnet-functions-roadmap.png%22%20alt%3D%22dotnet-functions-roadmap.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20most%20frequent%20pieces%20of%20feedback%20we%E2%80%99ve%20received%20is%20that%20Azure%20Functions%20needs%20to%20support%20new%20versions%20of%20.NET%20as%20soon%20as%20they%E2%80%99re%20available.%20We%20agree%2C%20and%20we%20have%20a%20plan%20to%20provide%20day%201%20support%20for%20future%20LTS%20and%20non-LTS%20.NET%20versions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870286453%22%20id%3D%22toc-hId-870472052%22%3E.NET%206%20LTS%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E.NET%206%20functions%20will%20support%20both%20in-process%20and%20isolated%20process%20options.%26nbsp%3B%20The%20in-process%20option%20will%20support%20the%20full%20feature%20set%20available%20in%20.NET%20Core%203.1%20functions%20today%2C%20including%20Durable%20Functions%20and%20rich%20binding%20types.%20The%20isolated%20process%20option%20will%20provide%20an%20upgrade%20path%20for%20apps%20using%20this%20option%20for%20.NET%205%20and%20initially%20will%20have%20the%20same%20feature%20set%20and%20limitations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20few%20weeks%20ago%2C%20the%20.NET%20team%20released%20the%20first%20preview%20of%20.NET%206.%20In%20the%20first%20half%20of%202021%2C%20we%20will%20deliver%20a%20version%20of%20the%20Azure%20Functions%20host%20for%20running%20functions%20on%20.NET%206%20preview%20using%20the%20in-process%20model.%20The%20initial%20preview%20of%20.NET%206%20on%20Azure%20Functions%20will%20run%20locally%20and%20in%20containers.%20In%20the%20summer%2C%20we%20expect%20.NET%206%20preview%20to%20be%20available%20on%20our%20platform%20and%20you%E2%80%99ll%20be%20able%20to%20deploy%20.NET%206%20preview%20function%20apps%20without%20the%20use%20of%20containers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20same%20day%20.NET%206%20LTS%20reaches%20general%20availability%20in%20November%2C%20you%E2%80%99ll%20be%20able%20to%20deploy%20and%20run%20.NET%206%20Azure%20Functions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--937168010%22%20id%3D%22toc-hId--936982411%22%3E.NET%207%20and%20beyond%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELong%20term%2C%20our%20vision%20is%20to%20have%20full%20feature%20parity%20out%20of%20process%2C%20bringing%20many%20of%20the%20features%20that%20are%20currently%20exclusive%20to%20the%20in-process%20model%20to%20the%20isolated%20model.%20We%20plan%20to%20begin%20delivering%20improvements%20to%20the%20isolated%20model%20after%20the%20.NET%206%20general%20availability%20release.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E.NET%207%20is%20scheduled%20for%20the%20second%20half%20of%202022%2C%20and%20we%20plan%20to%20support%20.NET%207%20on%20day%201%20exclusively%20in%20the%20isolated%20model.%20We%20expect%20that%20you%E2%80%99ll%20be%20able%20to%20migrate%20and%20run%20almost%20any%20.NET%20serverless%20workload%20in%20the%20isolated%20worker%E2%80%94including%20Durable%20Functions%20and%20other%20targeted%20improvements%20to%20the%20isolated%20model.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550344823%22%20id%3D%22toc-hId-1550530422%22%3E.NET%20Framework%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECurrently%2C%20.NET%20Framework%20is%20supported%20in%20the%20Azure%20Functions%20V1%20host.%20As%20the%20isolated%20model%20for%20.NET%20continues%20to%20evolve%2C%20we%20will%20investigate%20the%20feasibility%20of%20running%20the%20.NET%20isolated%20worker%20SDK%20in%20.NET%20Framework%20apps.%20This%20could%20allow%20users%20to%20develop%20apps%20targeting%20.NET%20Framework%20on%20newer%20versions%20of%20the%20functions%20runtime.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20thrilled%20by%20the%20adoption%20and%20solutions%20we%20see%20running%20on%20Azure%20Functions%20today%2C%20accounting%20for%20billions%20of%20function%20executions%20every%20day.%26nbsp%3B%20We%20are%20deeply%20grateful%20for%20the%20.NET%20community%2C%20many%20of%20you%20have%20been%20with%20us%20since%20day%201.%20Our%20hope%20is%20that%20this%20post%20gives%20clarity%20on%20our%20plans%20for%20supporting%20future%20versions%20of%20.NET%20on%20Azure%20Functions%20and%20evolving%20the%20programming%20model.%26nbsp%3B%20Supporting%20our%20differentiated%20features%20while%20removing%20the%20constraints%20of%20the%20in-process%20model%20is%20a%20non-trivial%20task%2C%20and%20we%20plan%20to%20be%20open%20and%20communicative%20throughout%20the%20journey.%26nbsp%3B%20We%E2%80%99ll%20be%20conducting%20a%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazurefunctionslive%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Especial%20.NET%20roadmap%20webcast%3C%2FA%3E%20on%20March%2025%20where%20we%20will%20make%20time%20to%20answer%20any%20questions%20you%20may%20have.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20get%20started%20building%20Azure%20Functions%20in%20.NET%205%2C%20check%20out%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazure-functions-dotnet5-howto%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDevelop%20and%20publish%20.NET%205%20functions%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2197916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22dotnet-functions-hero.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F262322iC17E49EBED043EE2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22dotnet-functions-hero.png%22%20alt%3D%22dotnet-functions-hero.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAzure%20Functions%20now%20supports%20.NET%205.%20Learn%20about%20the%20new%20isolated%20process%20model%20for%20building%20.NET%20functions%20and%20the%20Azure%20Functions%20roadmap%20for%20.NET%206%20and%20beyond.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2197916%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E.%20NET%20Core%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E.NET%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200910%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200910%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20news%2C%20from%20a%20security%20POV%2C%20process%20isolation%20mode%20it's%20a%20must%20when%20available%20-%20unless%20I'm%20missing%20something%20here.%20%3Ap%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20the%20fact%20that%20we%20would%20be%20able%20to%20use.%20Net%20code%20as%20soon%20as%20the%20new%20version%20is%20release%20in%20Azure%20Function%20would%20help%20a%20lot%20at%20keeping%20updated%20code%20at%20the%20same%20level%20-that's%20not%20an%20easy%20task%20sometimes%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202525%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202525%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20this%20detailed%20information.%20But%20for%20the%20avoidance%20of%20doubt%2C%20is%20it%20the%20expectation%20the%20next%20version%20in%20which%20durable%20NET%20functions%20will%20be%20supported%20will%20be%20NET7%20in%20H2%202022%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2206798%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206798%22%20slang%3D%22en-US%22%3E%3CP%3EWait...%20wut%3F%20According%20to%20the%20documentation%20the%20nuget%20package%26nbsp%3BMicrosoft.Azure.Functions.Worker%20is%20required.%20I'm%20not%20sure%20why%20it%20need%20everything%20including%20the%20kitchen%20sink%2C%20but%20okay...%20I%20guess%3F%20Like%20why%20would%20I%20need%20to%20log%20to%20the%20windows%20EventLog%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstalling%3A%3C%2FP%3E%3CP%3EAzure.Core.1.10.0%3CBR%20%2F%3EGoogle.Protobuf.3.15.5%3CBR%20%2F%3EGrpc.Core.Api.2.35.0%3CBR%20%2F%3EGrpc.Net.Client.2.35.0%3CBR%20%2F%3EGrpc.Net.ClientFactory.2.35.0%3CBR%20%2F%3EGrpc.Net.Common.2.35.0%3CBR%20%2F%3EMicrosoft.Azure.Functions.Worker.1.0.0%3CBR%20%2F%3EMicrosoft.Azure.Functions.Worker.Core.1.0.0%3CBR%20%2F%3EMicrosoft.Azure.Functions.Worker.Grpc.1.0.0%3CBR%20%2F%3EMicrosoft.Bcl.AsyncInterfaces.1.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.Abstractions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.Binder.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.CommandLine.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.EnvironmentVariables.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.FileExtensions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.Json.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Configuration.UserSecrets.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.DependencyInjection.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.DependencyInjection.Abstractions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.FileProviders.Abstractions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.FileProviders.Physical.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.FileSystemGlobbing.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Hosting.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Hosting.Abstractions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Http.3.0.3%3CBR%20%2F%3EMicrosoft.Extensions.Logging.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.Abstractions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.Configuration.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.Console.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.Debug.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.EventLog.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Logging.EventSource.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Options.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Options.ConfigurationExtensions.5.0.0%3CBR%20%2F%3EMicrosoft.Extensions.Primitives.5.0.0%3CBR%20%2F%3EMicrosoft.NETCore.Platforms.5.0.0%3CBR%20%2F%3EMicrosoft.Win32.Registry.5.0.0%3CBR%20%2F%3ESystem.Buffers.4.5.0%3CBR%20%2F%3ESystem.Diagnostics.DiagnosticSource.4.6.0%3CBR%20%2F%3ESystem.Diagnostics.EventLog.5.0.0%3CBR%20%2F%3ESystem.Memory.4.5.3%3CBR%20%2F%3ESystem.Memory.Data.1.0.1%3CBR%20%2F%3ESystem.Numerics.Vectors.4.5.0%3CBR%20%2F%3ESystem.Runtime.CompilerServices.Unsafe.4.5.2%3CBR%20%2F%3ESystem.Security.AccessControl.5.0.0%3CBR%20%2F%3ESystem.Security.Principal.Windows.5.0.0%3CBR%20%2F%3ESystem.Text.Json.4.6.0%3CBR%20%2F%3ESystem.Threading.Tasks.Extensions.4.5.2%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2206842%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206842%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F337681%22%20target%3D%22_blank%22%3E%40gonkers%3C%2FA%3E%26nbsp%3BCan%20you%20please%20file%20an%20issue%20here%20to%20discuss%3F%20Thanks.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-functions-dotnet-worker%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-functions-dotnet-worker%2Fissues%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2208093%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2208093%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3ETake%20a%20blob%20trigger%20for%20example%2C%20you%20are%20limited%20to%20passing%20blob%20content%20using%20data%20types%20that%20are%20supported%20in%20the%20out-of-process%20language%20worker%20model%2C%20which%20today%20are%20string%2C%20byte%5B%5D%2C%20and%20POCO.%20You%20can%20still%20use%20Azure%20SDK%20types%20like%20CloudBlockBlob%2C%20but%20you%E2%80%99ll%20need%20to%20instantiate%20the%20SDK%20in%20your%20function%20process.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhat%20is%20the%20impact%20of%20this%20on%20the%20memory%20cost%20of%20the%20function%3F%20Will%20it%20be%20included%20in%20the%20memory%20size%20as%20we%20are%20explicitly%20instantiating%20the%20SDK%20or%20will%20it%20be%20considered%20as%20part%20of%20the%20hosting%20process%2Fenvironment%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2206844%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2206844%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F471830%22%20target%3D%22_blank%22%3E%40baouss%3C%2FA%3E%26nbsp%3BThe%20in-process%20.NET%206%20release%20will%20have%20Durable%20Functions.%20This%20is%20coming%20in%20preview%20this%20summer%2C%20and%20GA%20in%20November%202021.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20isolated%20process%20.NET%20worker%2C%20we%20do%20not%20have%20a%20confirmed%20date%20for%20Durable%20Functions%20but%20we%20expect%20it%20to%20arrive%20sometime%20in%202022%2C%20perhaps%20earlier.%20When%20it%20arrives%2C%20you%20can%20use%20it%20with%20.NET%206%20or%20later.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2258937%22%20slang%3D%22en-US%22%3ERe%3A%20.NET%20on%20Azure%20Functions%20Roadmap%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2258937%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20will%20Visual%20Studio%202019%20have%20proper%20tooling%20and%20support%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Mar 10 2021 08:34 AM
Updated by: