In the node domain of the clientaccesspolicy file, you can specify a wildcard for the subdomain or protocol, but it will not be displayed for the port.
In particular, when developing, if the consumed service is hosted by a third-party user, access to the local version of the debug version of the silverlight application running on the localhost asp.net development server works fine with the nodes:
<domain uri="*"/> <domain uri="http://*"/> <domain uri="http://localhost:1234"/>
(where 1234 is the specific specific port number)
but it does not work if specified on the form
<domain uri="http://localhost:*"/>
which is extremely annoying if there are several developers / projects using this service, or you do not specify a port for the asp.net development server
Does annyone know if I just get the wrong format, or is it either an error or an oversight when processing clientaccesspolicy using silverlight?
UKShots
source share