Azure / Azure/azure-functions-dotnet-worker

Running full ASP.NET Core Web API in the isolated worker

Open
#1,375 1 comment 1 reaction 1 assignee Claimed by @fabiocav View on GitHub
area: http enhancement
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

With the isolated worker being the preferred (and in future) [only option](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/net-on-azure-functions-roadmap/ba-p/2197916) 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](https://github.com/hajekj/az-functions-aspnetcore)) which uses [NL.Serverless.AspNetCore](https://github.com/tntwist/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](https://github.com/aws/aws-lambda-dotnet/tree/master/Libraries/src/Amazon.Lambda.AspNetCoreServer) and the hosting model seems actually quite similar.

Is this something planned or worth looking into?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.