IIS hosted WCF endpoint url without *.svc file RRS feed

  • Question

  • Is it possible to remove the .svc file from the url of an IIS hosted WCF service? I am familiar with the System.Web.Routing approach but I don't know that it would be a workable solution in my scenario.

    I am attempting to move a Windows Service hosted WCF service to be hosted in IIS. The existing endpoint urls have the format <protocol>://<server>:<port>/<endpoint_name>. In the current IIS arrangement the endpoints look like <protocol>://<server>:<port>/<svc_file>/<endpoint_name>.

    Is there a way to do this using the Routing approach which would not require me to decorate every method and the existing client configs and proxies would still work? We have many consumers of this service and would like to avoid requiring them to update their configs to point to a new url.

    Saturday, March 7, 2015 2:45 PM

All replies