WCF - how to create programatically custom binding with binary encoding over HTTP(S)

后端 未结 3 805
有刺的猬
有刺的猬 2021-02-09 19:53

I\'d like to convert my current HTTP/HTTPS WCF binding settings to use binary message encoding and I need to do it in code - not in XML configuration. AFAIK it\'s necessary to

3条回答
  •  别那么骄傲
    2021-02-09 20:42

    The SecurityBindingElement has a AllowInsecureTransport property. If you set this to true you can use the HttpTransportBindingElement with message user name and password security.

提交回复
热议问题