So, I created a WCF service application and hosted it on IIS7. He currently has several helloworld test methods. When I launch it in my browser, I get this screen: 
Now the service itself works fine, but how can I display the following operations: 
Thanks to marc_s for the link: http://www.dotnetcurry.com/ShowArticle.aspx?ID=399 that I followed, so my web configuration is now configured like this:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.serviceModel> <services> <service name="WcfServer.Service1"> <endpoint address="" binding="webHttpBinding" contract="WcfServer.IService1" behaviorConfiguration="HelpBehaviour" /> </service> </services> <behaviors> <serviceBehaviors> <behavior> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> <endpointBehaviors> <behavior name="AjaxBehavior"> <enableWebScript /> </behavior> <behavior name="HelpBehaviour"> <webHttp helpEnabled="true"/> </behavior> </endpointBehaviors> </behaviors> </system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> <directoryBrowse enabled="true" showFlags="Date, Time, Size, Extension" /> </system.webServer> </configuration>
However, this only works locally. When I publish on my IIS7 server, I get a 404 error page when I click the help link. Does anyone know why this happened, or did it reach him?
(The last bit was resolved by running: aspnet_regiis.exe -iru )
source share