Related to an existing integration?
Yes
Existing integration
CommunityToolkit.Aspire.Hosting.RavenDB
Overview
Right now the integration allows port if you pass the parameters. But if you use settings, it's impossible to specify the port that will be exposed as the endpoint for Raven Studio which results in a conflict if you are using multiple aspire projects on the same machine.
Either please add a .WithPort (which should be chainable as should .WithLicense) to the Settings construction so that it will use that to create the endpoint, or add an optional parameter to the AddRavenDb extension that takes settings. The later may be preferable to be consistent with the other Dictionary-based extension of the same name
Usage example
.AddRavenDb(name, settings, port)
Breaking change?
No
Alternatives
As of right now, I can't find a way to override the port for the endpoint.
Additional context
No response
Help us help you
No, just wanted to propose this