Search code examples
c#wcfweb-servicesasmx

Converting WCF service to asmx


I develop a WCF service using c#(nettcpbinding), I want use it in an php program, so I think I have to change it to standard webservice, How can I Convert this wcf service to web service?(asmx)


Solution

  • You don't have to convert it to asmx. You can just create another endpoint with BasicHttpBinding or WebHttpBinding.

    Check out this article on why not to use asmx services:

    http://johnwsaunders3.wordpress.com/2011/12/07/more-reasons-to-not-use-asmx-services-in-new-code/