Sunday, March 16, 2008
« Do I need Agile to create great software... | Main | Silverlight 2 Beta 1 broke flash in both... »
Tonight I decided that it was time that I checkout the Silverlight 2 beta release.  There are a number of things that I want to try with Silverlight, unfortunately, a bunch of other work has been keeping me.

I decided that the best way to get started would be with a real simple client.  Creating a simple silverlight control for showing recent tweets from Twitter seemed like it would be a fun experiment.  To get started I wanted to download some tweets from Twitter and show them in a ListBox.  Since LINQ to XML can be used with Silverlight 2, I figured the process would be pretty painless.  Of course I forgot about the fact that everyone had to go and try and make everything on the web secure.  From what I can tell, the fact that Twitter doesn't have, or has recently botched, their cross domain policy file is preventing me from being able to make any progress on my little silverlight project. 

Hopefully I'll figure out what the deal is with Twitters cross domain policy file.  It might be that I have something botched since when I run ScottGu's Digg sample I get the same "Download failure" that I get when attempting to download XML from Twitter.

UPDATE: Well it looks like the problem is that Twitter's cross domain policy file only allows *.twitter.com and *.discoveringradiance.com.  That sucks.  I guess accessing the XML directly from Twitter is out of the question.

Monday, March 17, 2008 4:46:40 AM (Eastern Daylight Time, UTC-04:00)
Hi Steve,

Here is the direct download of my Digg client source: http://www.scottgu.com/blogposts/slbeta1apps/diggsample.zip

If you use this you shouldn't have any cross domain issues (try searching for a term like "basketball" or "apple").

Hope this helps (and feel free to send me email if you run into any problems with it),

Scott
Monday, March 17, 2008 12:48:10 PM (Eastern Daylight Time, UTC-04:00)
Scott,

Thanks for the link, that sample worked as expected. I downloaded a sample from one of the tutorials on your blog and was getting the "Download failure" that I mentioned in the above post. The only difference is that I'm on my work laptop here, and was running through VMWare Fusion at home.

Cheers,
Steve
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):