Silverlight
(1)
UGIdotNET
(1)
SwitchOff
(1)
Httprequest
(1)
Cc645032
(1)
Origin
(1)
Klick
(1)
Doesn
(1)

Silverlight 3 and httprequest

Asked By kwafir
04-Nov-09 04:58 AM
hi,

i want to send this simple httprequest

http://PC1.Domain.local:10000/Mobile/Lighting.aspx?Room=214&Action=SwitchOff"

i try,try,try but it doesn work

the silverlight website runs on PC 1

i use PC2 open the browser and go to the right site... than i klick on the
button in the silverlight-site to send the request, but i cant find a way to
do this


can u help mee?

kwafir formulated on mercoled?

Corrado Cavalli [MVP] replied to kwafir
04-Nov-09 11:57 PM
kwafir formulated on mercoled? :

Silverlight can safely communicate only with domain of origin, for
other you have to use a clientaccesspolicy.xml file
http://msdn.microsoft.com/en-us/library/cc645032(VS.95).aspx

--
Corrado Cavalli [Microsoft .NET MVP-MCP]
UGIdotNET - http://www.ugidotnet.org
Weblog: http://blogs.ugidotnet.org/corrado/
Post Question To EggHeadCafe