Azure / azure-functions-dotnet-worker

Azure Functions out-of-process .NET language worker
MIT License
428 stars 182 forks source link

Question: .NET 6 In-Process Function runs fine on Azure .NET 8 Isolated ?! #2670

Closed Chrissie closed 2 weeks ago

Chrissie commented 2 months ago

What version of .NET does your existing project use?

.NET 6

What version of .NET are you attempting to target?

.NET 8

Description

If I build an Azure Function with the In-Process model, on .NET 6, I am able to run it on .NET 8 Isolated in Azure. I don't understand why this works, I thought the Isolated-Worker would not accept existing In-Process Functions? Can someone explain why this works? I can't find any source or reference which states that this should work.

Steps:

Project configuration and dependencies

Link to a repository that reproduces the issue

No response

cjaliaga commented 1 month ago

Explained as part of this PR in the section Why it works in 4.34 . This behavior will be removed in the future.

satvu commented 2 weeks ago

Closing as answered.