microsoft / microsoft/aspire

[WebToolsE2E][Aspire] Running two Aspire projects with Azure Functions at the same time will cause the 'functionapp1' to stop after a few seconds for one of the projects.

Open
#8,501 9 comments 0 reactions 0 assignees View on GitHub
area-integrations azure azure-functions
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO**
1. Worked in Aspire 9.1.0

**INSTALL STEPS**

1. Clean machine: Win11 x64 24h2 ENU
2. Install VS 17.13.5
3. Add dotnet9 feed for 9.2.0-preview.1
4. Install the latest Aspire 9.2.0-preview.1 templates
`dotnet new install Aspire.ProjectTemplates::9.2.0-preview.1.25201.19 --force`
5. Install Docker Desktop

**NOTE**
1. This issue reproduces for both 8.0/9.0 framework

**REPRO STEPS**

1. New project > .NET Aspire Starter App > .NET 9.0 > .NET Aspire version (9.2) > Create
2. Right click solution > Add > New Project > Azure Functions > .NET 9.0 Isolated > Check 'Enlist in .NET Aspire orchestration' > Create
3. Repeat Step 1 and 2 to create another project
4. Build and run the first project > Check that all the projects are running in Resources
5. Build and run the second project > Check that the endpoint for 'functionapp1' project stops after few seconds

**ACTUAL**
The 'functionapp1' for the second project will stop after few seconds.
![Image](https://github.com/user-attachments/assets/aa3c0272-8204-4fea-934b-f1edd83d2525)

**EXPECTED**
The 'functionapp' should run successfully when 2 different projects are run the same time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.