开发者

Hosting WCF app in IIS 6 - localhost replaced with machine name

I've recently moved my Silverlight solution off of Casini (one for service, one for SL app) and over to IIS to simulate production. It's one website on a port (localhost:2002) containing two web applications, one for my SL app and one for my WCF service. Everything works fine in Casini with a clientaccesspolicy xml file, but in IIS something is replacing loca开发者_StackOverflow社区lhost:2002 with my machine name in the WSDL. What causes that, and how can I stop it?


In IIS, the domain of the website vis replaced by the machinename unless there are host headers configured. This is also true with SSL, though you have to use adsutil to change an SSL host header.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜