Is there a way to delay setting the TCP port? #346
Unanswered
Grauenwolf
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Looks like what I want is:
This would have to be added to CoreWCF.NetTcp as it depends on internal classes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the sample, the TCP port for is set via
UseNetTcp
inCreateWebHostBuilder
.The problem I'm running into is that I don't know which port I need until the
Startup
class is running and I have access to theIConfiguration
object.Is there a way to delay setting the delay setting the TCP port until
Startup.ConfigureServices
orStartup.Configure
is running?Beta Was this translation helpful? Give feedback.
All reactions