| 发表于:2008-01-22 12:03:23 楼主 |
我的host中app.config代码如下: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.servicemodel> <behaviors> <servicebehaviors> <behavior name="servicebehavior"> <servicemetadata httpgetenabled="true" /> </behavior> </servicebehaviors> </behaviors> <services> <service behaviorconfiguration="servicebehavior" name="loginserver.loginauthenticate"> <endpoint address="loginauthenticate" binding="basichttpbinding" bindingconfiguration="" contract="contractserver.iloginauthenticate" /> <endpoint address="mex" binding="mexhttpbinding" contract="imetadataexchange" /> <host> <baseaddresses> <add baseaddress="http://localhost:6000" /> </baseaddresses> </host> </service> </services> </system.servicemodel> </configuration> 以上代码在运行时没有错误,但是在浏览器中输入http://localhost:6000,显示无效网页,请问可能是哪里问题? |
|
|
|
|