/ Published in: C#
Again, A-B-C. All the Behaviour garbage that "Add Service Reference" inserts for the TCP binding is unnecessary, especially if the Operation Contract is only for simple value types.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<system.serviceModel> <client> <endpoint name="Name_Not_Significant" address="net.tcp://localhost:8001/" binding="netTcpBinding" contract="DoStuffServer.IDoStuff"> </endpoint> </client> </system.serviceModel>