Skip to main content
Home Forums General Silverlight Hosting and Streaming Silverlight streaming with WCF
1 replies. Latest Post by HarshBardhan on August 29, 2008.
(0)
thomasgoes
Member
31 points
40 Posts
08-29-2008 12:13 AM |
I have a Silverlight application that uses WCF service to get a list of Podcast URL's. The service just returns back the names and url's of mp3 files. I then bind that list to a listbox and use the ListBox selectionchanged event as source to media player.
The WCF webservice point to a html URL example : http://www.nytimes.com/2006/10/08/books/books-podcast-archive.html.
But when I host this application on Silverlight streaming server, somehow the WCF service fails.
This just works fine on my local box or the servers I tried .
Can someone help me how to do the endpoint address when the application is on Silverlight stream server..I believe this is one of the problem.
Secondly since the WCF service points to http url..can the issue of cross-domain arise. How to fix cross domain issue for the scenerio I am trying to do. I have read about crossdomain policy file in the root....
Can someone point to a article or sample where WCF is used to get Data list from an external source and host the application on silverlight streaming server.
Thanks
HarshBar...
Star
9908 points
1,719 Posts
08-29-2008 8:22 AM |
See you can put Cross domain Policy file in same place where your wcf service is hosted means ...
If you will post your code how you are getting url that will be good...