I have a WCF service that is hosted in IIS 7.5. I have two servers, one for test and one for production.
The service works fine on test server, but on the production ser
You basically need three things to enable browsing to your WSDL for a WCF service:
So your config on the server side might looks something like this (plus a bit more stuff):
Points 1 and 2 are handled by this line here:
You need to reference that service behavior in your
tag for it to become active.
Point 3 (MEX endpoint) is this section here:
For http, use the mexHttpBinding
, and the IMetadataExchange
contract is a WCF system contract for metadata exchange .