how to Host silverlight with wcf service in iis

Posted by Selvarajmgp under Silverlight on 1/2/2012 | Points: 10 | Views : 2000 | Status : [Member] | Replies : 3
Hi,

How to host silverlight with wcf service application in iis 7.

I am getting error as cross domain policy is not proper, while hosting silverlight with wcf application. but i added cross domain policy

Explain if anybody know process of hosting.

Thanks and Regards,
Selvaraju.n




Responses

Posted by: Shrikant_SL on: 1/20/2012 [Member] Starter | Points: 25

Up
0
Down
Hi
You will need to add Cross domain policy's , it needs to go in the ROOT of the domain. This is important as it is not the application root, but the root web. Even if your app is at foo.com/myapp, the policy file needs to be at foo.com/clientaccesspolicy.xml.

Check this Blog post

http://timheuer.com/blog/archive/2008/04/06/silverlight-cross-domain-policy-file-snippet-intellisense.aspx

Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gaur1982 on: 7/31/2013 [Member] Starter | Points: 25

Up
0
Down
Check this link, it will explain you how can we host a silverlight application : http://www.planetofcoders.com/how-can-we-host-a-silverlight-application/

Gaurav Agrawal
http://www.planetofcoders.com/

Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: aswinialuri-19361 on: 7/31/2013 [Member] Starter | Points: 25

Login to post response