Can we use Net​Named​Pipe​Binding in WCF without using port?

1k Views Asked by At

I am trying to implement a demo to communicate between two applications on a same machine. So I choose Net​Named​Pipe​Binding. And the doc of it shows that we need to assign the base address like 'http://localhost:8000/uesamples/service'

in

https://learn.microsoft.com/en-us/dotnet/api/system.servicemodel.netnamedpipebinding?view=netframework-4.7.

But I prefer not to use the port.

So is it possible that we can define the base address in another way?

0

There are 0 best solutions below