Our Silverlight application can work both in HTTP mode and in https mode (SSL, using transport security mode). In our file, ServiceReferences.ClientConfigwe simply configured our service endpoint as follows:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="DefaultEndpoint"
maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None" />
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="/services/DefaultService.svc"
binding="basicHttpBinding"
bindingConfiguration="DefaultEndpoint"
contract="OurNamespace.IOurContractAsync"
name="DefaultEndpoint" />
</client>
</system.serviceModel>
</configuration>
. , XAP: From http://example.com/slpage.html https://example.com/slpage.html. , "" "". . "", https, , "..https , http..." . Silverlight , ? ?