0
votes

I'm a newb to WCF bindings and would greatly appreciate if someone could give me an example of a custom binding using Binary message encoding with Transport security (clientCredentialType="None").

Thanks in advance.

1

1 Answers

0
votes

Something like this?

            CustomBinding endpointBinding = new CustomBinding();
            endpointBinding.Elements.Add(new BinaryMessageEncodingBindingElement());
            endpointBinding.Elements.Add(new HttpsTransportBindingElement());