Skip to content

Service Discovery for custom container #7399

Answered by davidfowl
MiklosPathy asked this question in Q&A
Discussion options

You must be logged in to vote

IResourceWithConnectionString is different to IResourceWithServiceDiscovery. See https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/app-host-overview?tabs=docker#connection-string-and-endpoint-references for the format, but depending on what your custom resource implements, you'll end up with either a connection string resource or something that looks like a url (which the service discovery system wants).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MiklosPathy
Comment options

Answer selected by MiklosPathy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants