Search code examples
wcfwcf-data-serviceswcf-bindingwcf-ria-serviceswcf-security

Can we create a wcf service for two protocols http and https


We need to create a WCF service which will be used by internal users using http and external users using https. Is it possible to create WCF service for http and https protocols.


Solution

  • Yes we can do that by providing 2 endpoints.

    1 end point with basic httpbinding

    and the other endpoint with wsHttpBinding with bindingconfiguration specifies Transport security