Friday, March 07, 2008

So it has to happen soon...   We'll be using our mobile devices with Silverlight plugins to connect to rich content over the Internet.

In preparation, I'm in the process of building/learning a Silverlight  2 version of this blog (just for the fun of it).

So,  as I go through,  I've come across a number of technical challenges.    The first,  is that I've been using my laptop to develop I simply I want to pull the RSS feed from my server to display nicely on a Silverlight powered web-page.

So to overcome challenge number 1,  we need to let Silverlight cross domain call and pickup the RSS file (i.e from laptop to server).    To achieve this you need to have a file called crossdomain.xml, sitting in the root of your website.   Mine looks like this.

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
  SYSTEM "
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*" />
</cross-domain-policy>

 

This is clearly a Macromedia format,  but Silverlight 2 recognises these files and lets you pull content from an Internet/intranet domain as long as it contains one of these files -

I got full details from here

http://www.crossdomainxml.org/

+ my inspiration for getting started with Silverlight, has been from Scott Guthrie's fab blog and specifically this tutorial (sorted) -

http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx

 

Technorati Tags: ,
Friday, March 07, 2008 12:25:33 PM UTC  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: