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.
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.
Something like this?
CustomBinding endpointBinding = new CustomBinding();
endpointBinding.Elements.Add(new BinaryMessageEncodingBindingElement());
endpointBinding.Elements.Add(new HttpsTransportBindingElement());