WCF base address confusion -


i following common icalculator example creating , self-hosting wcf service.

the config file service contains endpoint, specify base address. address "http://localhost:8733/...". in self-host app (console), specify base address uri of "http://localhost:8000/...".

i not understand how these base addresses related. examples check service checking host address in browser. works fine. why isn't service address available in same way?

what servicehost class doing? obviously, listening port 8000. listening 8733? if so, why can't access through browser?

when debugging(f5) service class library, visual studio brings wcf test client", shows service address on port 8733. when watching ports network tool (tcpview), not see activity on port 8733 until start client app.

can explain going on? service , apps works fine, guess can things done, know happening.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -