Reputation: 1874
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.
Upvotes: 0
Views: 167
Reputation: 7021
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).
Upvotes: 1