With the isolated worker being the preferred (and in future) only option to run Azure Functions with .NET, I think it would make sense to investigate the ability to run full ASP.NET Core in the isolated worker. This could make a lot of APIs easier to migrate to Functions.
@hajekj this is something we have prototyped in the past and have plans to explore further. I don't have timelines I can share at this point, as the current priorities are the items listed here but will keep this issue open for tracking.
With the isolated worker being the preferred (and in future) only option to run Azure Functions with .NET, I think it would make sense to investigate the ability to run full ASP.NET Core in the isolated worker. This could make a lot of APIs easier to migrate to Functions.
A sample which achieves this - https://hajekj-func-aspnetcore.azurewebsites.net/ (source) which uses NL.Serverless.AspNetCore package works quite fine, there are just some setup caveats and the use of multiple projects isn't ideal.
Lambda allows you to run full ASP.NET Core within and the hosting model seems actually quite similar.
Is this something planned or worth looking into?