Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aspire add should give next steps when package is installed. #8159

Open
mitchdenny opened this issue Mar 19, 2025 · 3 comments
Open

aspire add should give next steps when package is installed. #8159

mitchdenny opened this issue Mar 19, 2025 · 3 comments
Assignees
Labels
Milestone

Comments

@mitchdenny
Copy link
Member

At the moment with the aspire add command we don't really give anyone next steps once they have installed a package. So folks may not necessarily know that they need to jump in and update Program.cs to make use of the hosting integration.

I think we should point people at some docs specific to each package. It might make sense to point at the README.md file on NuGet if we know that the package source was NuGet.

Example output:

aspire add redis
The [email protected] package was installed.
View the README.md at https://www.nuget.org/packages/Aspire.Hosting.Redis/9.0.0
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 19, 2025
@mitchdenny mitchdenny added area-cli and removed area-integrations Issues pertaining to Aspire Integrations packages labels Mar 19, 2025
@mitchdenny mitchdenny added this to the 9.2 milestone Mar 19, 2025
@mitchdenny mitchdenny self-assigned this Mar 19, 2025
@mitchdenny
Copy link
Member Author

@maddymontaquila thoughts on this?

@maddymontaquila
Copy link
Member

@maddymontaquila thoughts on this?

oooo i like this. we could also give them the option to stick it in their app host for them if we wanted to get fancy. Or spit out sample code - ie

Successfully added Aspire.Hosting.Redis. To add to your app:

builder.AddRedis("name")

Learn more (docs link)

@mitchdenny
Copy link
Member Author

Moving to 9.3.

@mitchdenny mitchdenny modified the milestones: 9.2, 9.3 Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants