Wednesday, June 11, 2008

WSDL For WCF ASP.Net service uses local machine name Part II

Something I discovered while doing this is that a WCF service can only be hosted in a site which has a single binding. Based on some forum posts it sounded like this was by design. What this means is that if you are using for example multiple host headers to get to your site, you will not be able to host your WCF service in the web.

There was a blog posting which I have since lost which showed one potential solution which was to use filtering; however in my case I opted to split the service out from the rest of my web which was my original intent anyways.

- Josh

No comments: