timor.super2:Can I do something for the development phasis ?
You have to put crossdomain.xml in root folder "wwwroot"
Let's say you have three projects.
- One project is the Silverlight project that is gonna invoke the service or page or something. (e.g. SLTests1)
- The other one is the ASP.NET project that is hosted Silverlight content. (e.g. WebApplication1 )
- Another
one is the PHP or ASP.NET project that is gonna receive the POST
request from Silverlight.
SLTests1
--- Page.xaml
----App.xaml
WebApplication1
---- [ClientBin]
--------------SLTests1.xap
----SLTests1TestPage.aspx
့့့h့ttp://localhost ( NOT http://localhost/yourservice/)
----- clientaccesspolicy.xml
----- crossdomain.xml
I
have tried to test with VS Development web server but not working
because we can't put our crossdomain under http://localhost:50782/.
Whenever we run the project, those xml files will go under
"http://localhost:50782/SilverlightApplication5_Web/".
If you want to do POST request, create the Virtual Directory in IIS. then, you can put those XML files under wwwroot.
(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)
Best Regards,
Michael Sync
Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed