dotnet / aspire-samples

MIT License
642 stars 186 forks source link

Example: Azure Functions 🌩️ #58

Open josephaw1022 opened 10 months ago

josephaw1022 commented 10 months ago

I'd like to propose the inclusion of Azure Functions projects as examples within the Aspire framework. This addition would be particularly beneficial for developers and aligns well with the cloud-native direction of Aspire.

Given that both the SDK and runtime for Azure Functions are open-source, integrating them as first-class citizens in the Aspire ecosystem seems a natural fit. Such integration would not only enhance the current offerings of Aspire but also provide practical, cloud-native examples that developers can leverage in their projects.

https://azure.microsoft.com/en-us/updates/ga-azure-functions-supports-net-8-in-the-isolated-worker-model/

josephaw1022 commented 10 months ago

Got an example working locally

image

image

davidfowl commented 10 months ago

You can track the work item here https://github.com/dotnet/aspire/issues/920

Dona278 commented 7 months ago

I tried to launch azure functions with the latest preview4 and I noticed that the current behavior seems different from what I read here.

I know that Azure functions are currently not supported, but I think that this example could confusing