RC0 - Having Trouble creating Proxy for Silverlight-enabled WFC Service.
so, how reference default silverlight-enabled wcf service operation dowork in silverlight 2 rc0 page.xaml.vb file ? new documentation shows how work?
assistance.
i thought bug have been fixed in servicereferences.clientconfig file in silverlight app make sure project name in contract. auto generated
<configuration>
<system.servicemodel>
<bindings>
<basichttpbinding>
<binding name="basichttpbinding_service1" maxbuffersize="2147483647"
maxreceivedmessagesize="2147483647">
<security mode="none" />
</binding>
</basichttpbinding>
</bindings>
<client>
<endpoint address="http://localhost:2822/service1.svc" binding="basichttpbinding"
bindingconfiguration="basichttpbinding_service1" contract="servicereference1.service1"
name="basichttpbinding_service1" />
</client>
</system.servicemodel>
</configuration>
but needed work
<configuration>
<system.servicemodel>
<bindings>
<basichttpbinding>
<binding name="basichttpbinding_service1" maxbuffersize="2147483647"
maxreceivedmessagesize="2147483647">
<security mode="none" />
</binding>
</basichttpbinding>
</bindings>
<client>
<endpoint address="http://localhost:2822/service1.svc" binding="basichttpbinding"
bindingconfiguration="basichttpbinding_service1" contract="silverlightapplication10.servicereference1.service1"
name="basichttpbinding_service1" />
</client>
</system.servicemodel>
</configuration>
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment