aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Aspire publish Doesn't Include Dapr Sidecars for .NET Aspire + Dapr

Open spicycoder opened this issue 1 year ago • 1 comments

Issue:

When publishing an Aspire-based application dotnet aspire publish, the generated docker-compose.yaml does not include DAPR sidecars, despite the project explicitly using DAPR for service invocation, pub/sub, and state management.

Expected Behavior:

Aspire should detect DAPR usage and automatically include DAPR containers within the generated docker-compose.yaml.

Additional context

Steps to Reproduce:

Clone this repo: spicycoder/CICDTemplate

Install Aspire CLI (local tool, not global):

dotnet tool install aspire.cli --prerelease

Run Aspire publish:

dotnet aspire publish -- --Parameters:RedisPort 6379

Inspect the docker-compose.yaml — DAPR is missing.

spicycoder avatar Jun 14 '25 15:06 spicycoder

The dapr support is now driven by the community toolkit. Please file the issue https://github.com/CommunityToolkit/Aspire

davidfowl avatar Jun 14 '25 16:06 davidfowl