aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Support specifying a path for custom endpoints

Open cfbao opened this issue 1 month ago • 0 comments

Some apps' best entrypoint URL isn't the root path, but some path below that, e.g. http://localhost:12345/swagger.

If using AddProject, we can now get the Aspire dashboard to show a custom path by specifying appropriate properties in launchSettings.json. However, for executable resources with custom endpoints (added using WithEndpoint), there's no way for the dashboard to show a custom path, because EndpointAnnotation doesn't support that.

It'd be nice to support specifying a path for custom endpoints, and have the dashboard display that to be more helpful.

cfbao avatar May 16 '24 13:05 cfbao