iPhone on Silverlight Promo Video?On the Silverlight promo video did

November 19, 2007 – 10:00 pm

iPhone on Silverlight Promo Video?

On the Silverlight promo video did anyone notice one of the actors using a device that looks for all the world like an Apple iPhone? ;-)

 

Talking of the iPhone. Since its OS is based on a slimmed down version of OS X - I wonder if we can expect to see Silverlight running on the iPhone some point in the future?

MbUnit 2.4 RTM

Congratulations to Andrew Stopford and the MbUnit team for getting MbUnit 2.4 RTM out the door! This has been over 6 months of hard work. Well done everyone who was involved in this release. Not forgetting Peli who originally started this project (he was taken from us ;).

Andy has created a Facebook group for MbUint users. Join up and show your support.

Silverlight Browser on CodePlex

Last week Ernie Booth announced a SilverlightBrowser plugin for Reflector. The plugin allows you to browse web pages that contain Silverlight elements and display their constituent Javascript, XAML and assembly files.

 

Ernie released the 0.1 Alpha code so people were free to modify it. The way the 0.1 code obtained the .js, .xaml and .dll files was by searching the HTML and Javascript source for specific patterns. For example it would search the HTML file for ‘Silverlight.createObject’ and extract the .xaml link from its parameters. This is similar to how Lutz’s SilverlightLoader plugin works.

The problem with this technique is that it assumes that the ‘Silverlight.js’ and API (which comes with the Silverlight SDK) is being used. Unfortunately this won’t always be the case. Some people may include the <object> or <embed> tags directly in the HTML or embed the XAML in a <script> block. A good example of this is Sam Ruby’s Inline SVG in MSIE demo. This demo creates a Silverlight <embed> element and converts the SVG content into XAML on the fly!

I’ve modified Ernie’s code so that is searches the WebBrowser object model for the .js and .xaml files. This means it is no longer making the assumption that ‘Silverlight.js’ is being used. It doesn’t yet support XAML that is emended in a <script> block. I’m hoping to have it working with Sam’s demo in the next version.

I have kicked off a community project for the SilverlightBrowser plugin on CodePlex (with Ernie’s blessing). You can download latest version of the plugin from here.

You must be logged in to post a comment.