首页 新闻 会员 周边 捐助

silverlight+WCF发布到IIS不工作

0
悬赏园豆:10 [已关闭问题] 关闭于 2010-12-29 12:38

<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<bindings>
<customBinding>
<binding name="QQGame.SilverlightWCF.customBinding0">
<binaryMessageEncoding/>
<httpTransport/>
</binding>
</customBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="QQGame.ServiceForSliverlightBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
<behavior name="QQGame.SilverlightWCFBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="QQGame.SilverlightWCFBehavior"
name
="QQGame.SilverlightWCF">
<endpoint address="" binding="customBinding" bindingConfiguration="QQGame.SilverlightWCF.customBinding0"
contract
="QQGame.SilverlightWCF" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>

 

silverlight+WCF的一个项目。WCF在新建的时候已经选择了启用silverlight的WCF服务,在VS2010中调试没有问题。但是发布到IIS7.5以后,WCF的调用就没有反应。需要如何解决?

 

问题补充: (⊙v⊙)嗯,自己解决了
何苦上青天的主页 何苦上青天 | 菜鸟二级 | 园豆:250
提问于:2010-11-29 10:25
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册