tags:

views:

15

answers:

1

Hi

I have a WCF Service. Is it possible to define a WCF service to have mulitple bindings

like

Method1 - WSHttpbinding Method2 - BasicHttpbinding Method3 - NETTcpBinding

Thanks.

+1  A: 

No, you can't set a binding on method level.

What you can do: expose the entire service on multiple endpoints, where each endpoint is configured with a different binding (WsHttp, BasicHttp, Tcp, etc).

Eric Eijkelenboom