Silverlight 4 Application with Custom USer controls not return data in browser
Posted on 2010-09-13
I'm using SL4 to create a widget framework, where several widgets are loaded onto the page on load.
The widgets use WCF to get their data (weather data, twitter feeds etc..). All widgets as well as the main framework page, are seperate projects in the solution. The Main framework page, has references to the different widget projects, for use as user controls on the page. So, I reference the project, then drag the control from the toolbox. All silverlight projects contact a WCF service on the ASP.NET web app.
This all works well OOB, but in the browser, none of the data is retrieved, the widgets just sit there trying to load data from the WCF service.
Is the a reason why this would work OOB, but not in browser? I'm using the client access policy file on the wwwroot folder, but still get no data.