I have the following issue. I host WCF service on a local IIS and want to get data from it in my Silverlight 5 app. I hosted Silverlight project with ASP.NET and i am getting communication exception all the time.
Just to mention, i did not create wcf silverlight enabled service. is that maybe?
My Silverlight .clientconfig:
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:21016/Service.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IService" contract="ServiceReference.IService"
name="BasicHttpBinding_IService" />
</client>
</system.serviceModel>
I have read some topics about that exception but i didnt find anything useful.
Tnx :)