accessing webservice from a HardDisk local silverlightapp
i'm searching way access webservice silverlight2 launched html file located on c:\ (for example).
i've read msdn policy access, if hard disk restricted zone, internet isn't, , don't see why may more restrictive cross domain on 2 internet access, or localnetwork (server) to internet (webservice) access wich permitted.
thanks explanation. (and sorry bad spell, i'm not english/us)
hi,
i not clear question if understanding correct want access services different domain.
if case need put xml file named clientaccesspolicy.xml.
content of be
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
now can add service reference in project , access in project.
mark answer if answers question.
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment