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

WithHttpsCommand extension #6649

Open
1 task done
jmezach opened this issue Nov 12, 2024 · 1 comment
Open
1 task done

WithHttpsCommand extension #6649

jmezach opened this issue Nov 12, 2024 · 1 comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone

Comments

@jmezach
Copy link

jmezach commented Nov 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

No response

Describe the solution you'd like

During .NET Conf 2024 @DamianEdwards showed a WithHttpsCommand extension method. This allows you to add commands that simply invoke HTTP based API's in your project. This feels like a generally useful extension method that deserves a place in the product.

Additional context

No response

@mitchdenny
Copy link
Member

To round out this feature we would need to (optionally) support specifying the endpoint name.

I actually thought it would be interesting to have a model where you could hit a /commands endpoint and get a JSON array of command metadata back and then inject multiple commands into the resource.

@joperezr joperezr added the untriaged New issue has not been triaged label Nov 12, 2024
@joperezr joperezr added this to the Backlog milestone Nov 13, 2024
@joperezr joperezr removed the untriaged New issue has not been triaged label Nov 13, 2024
@davidfowl davidfowl added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

No branches or pull requests

4 participants