We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Package: Microsoft.Extentions.ServiceDiscovery 8 preview 5
I would like to use the ServiceDiscovery library to be able to retrieve the Endpoint of a WCF service with net.tcp protocol.
But this code return null:
var endPointResolver = serviceProvider.GetRequiredService<ServiceEndPointResolver>(); var result = await endPointResolver.GetEndPointAsync("net.tcp://basket", default).ConfigureAwait(false); Assert.IsNull(result);
Configuration appSettings.json:
{ "Services": { "basket": { "net.tcp": "net.tcp://localhost:82378" } } }
The text was updated successfully, but these errors were encountered:
I found that by mistake in configuration I set an invalid port.
When the port exceeds 65535 (by configuration error), the GetEndPointsAsync method returns null.
Perhaps it would be better to raise an exception when loading the configuration?
Sorry, something went wrong.
No branches or pull requests
Package: Microsoft.Extentions.ServiceDiscovery 8 preview 5
I would like to use the ServiceDiscovery library to be able to retrieve the Endpoint of a WCF service with net.tcp protocol.
But this code return null:
Configuration appSettings.json:
The text was updated successfully, but these errors were encountered: