Skip to main content
Home Forums Silverlight Programming Accessing Web Services with Silverlight Cross Domain Question
1 replies. Latest Post by shamrat231 on November 8, 2009.
(0)
moonwalk...
Member
1 points
2 Posts
11-08-2009 2:40 AM |
Hi
I have a silverlight file that calls a wcf service that is in the same project:
http://www.test.com/silverlight.xaphttp://www.test.com/wcfservice.svc
I am fairly new to silverlight and do not understand cross domain issues very well. Currently I am not using a cross domain policy file or a client access policy file and it is working fine. Am I right to believe that there will be no cross domain issues since the .xap file and the .svc file are both on the same domain?
Thank you
shamrat231
Contributor
4717 points
595 Posts
11-08-2009 3:56 AM |
Yes, as long as they are in the same domain, cross domain policy is not needed. It is needed when u r trying to access third party web services.
See this tim heuer video for more info. http://silverlight.net/learn/videos/silverlight-videos/how-to-use-cross-domain-policy-files-with-silverlight/
Please 'Mark as Answer' if it helps you
Sharker Khaleed MahmudSoftware Developer(MCP,MCTS,MCPD[web])
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.