I would like to replace the default help page url for me WCF service. According to this documentation i should be able to set the HttpHelpPageUrl and HttpHelpPageEnabled attributes in web.config and i should be in business. Not working for me.
I'm using .net 4.0. I know my serviceBehavior is getting recognized because i get results if i make other changes such as putting httpHelpPageEnabled="false".
This is my web.config:
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="True" httpHelpPageUrl="~/info.html" httpHelpPageEnabled="True" />
</behavior>
</serviceBehaviors>
This is the page i would like to replace:

According to this thread httpHelpPageUrl lets you move the default WCF help page to another location. So if you want to provide your custom page you should make a enpoint providing handling your HTML.
More details (including sample code) is here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With