Silverlight alpha gotchas

[Update: I must have been drinking when i wrote this :,,) It should be local domain because you cannot get objects from a remote host through the BrowserHttpWebRequest]

These 2 just made me loose +45 minutes:

1. if you”re using the BrowserHttpWebRequest to download files from a remote domain, then make sure you”re testing your page from a web server (the internal server that comes with VS works, but you”ll start getting the object is not on the correct state exception -or something like that – if you try accessing objects from a remote host).

2. The same holds true if you”re loading a remote wmv file on a MediaElement.

Not sure if there”s any explanation for these, but it did steel me 45 precious minutes.

Advertisements

~ by Luis Abreu on July 3, 2007.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: