I’ve been blogging about WPF and Silverlight using Windows Live Writer (WLW) for quite a while now. But there’s something I found really awkward : I never actually had some Silverlight running within a post! Since a XAP is worth way more than static screenshots, I got to work and three hours later I had the Silverlight App Plugin working. It is now as easy as uploading your XAP, clicking “Silverlight XAP” from WLW, and paste the XAP’s URL to have your application running within your post.
I’ve also added some optional parameters such as plugin size, background color as well as the minimum version of Silverlight required.
The plugin setup and its source code are attached to this post and are provided as examples. Happy blogging!