Archives / 2009 / March
  • Live Writer “Hello World” Plug-in

    I started using Windows Live Writer a couple of months ago and I think that it is a fantastic tool.  One benefit is its easy extensibility via easy to write plug-ins in .NET.

    Whenever I blog about a book, I like to display the book’s cover image and a link to but also to  I needed to go to the Amazon Websites, search for the books in the associates section, copy paste the generated HTML.  Not very long but still, how about automating this?

    I started searching Live Writer plug-in development and quickly found a link to a SDK and a Channel 9 video.  An hour later I had a fully functional plug-in that saves me approximately 124.6 seconds each time I need to paste some book references to Amazon.

    Here’s the code for a simple “Hello World”

    1-Start a new project in Visual Studio and select Class Library.

    2-Reference this Live Writer DLL:
    C:\Program Files\Windows Live\Writer\WindowsLive.Writer.Api.dll

    3-This C# code will insert the “Hello World” string at the cursor position when the user clicks on the plug-in link either from the right side action pane or from the Insert menu.

    using WindowsLive.Writer.Api;
    [WriterPlugin("Generate and insert a GUID here", "Hello World", PublisherUrl = "", Description = "Hello World")]
    [InsertableContentSource("Hello World", SidebarText = "Hello World")]
    public class LiveWriterHelloWorldPlugin : ContentSource
        public override System.Windows.Forms.DialogResult CreateContent(System.Windows.Forms.IWin32Window dialogOwner, ref string content)
            content = "Hello World";
            return DialogResult.OK;

    4-Copy the DLL in the plug-in folder:
    C:\Program Files\Windows Live\Writer\Plugins


  • Coffee and Code – March 16th in Montreal

    The good folks from MSDN Canada will be in town this week for the EnergizeIT tour.  You can meet part of the team and discuss code over a latte on Monday, March 16th from 1PM to 4PM at the Café Dépôt located on 550 Sherbrooke W.  Free Internet access on site.


  • Kids and technology

    At the MVP Summit, we were shown this cute video of a 5 year old girl talking about Visual Studio 2008:


  • Silverlight 2 in Action

    Silverlight 2 in Action is a great book to get you started with Silverlight development.  At 371 pages, it’s a short book that has enough info to get you going and act as your jumping board into Silverlight.  I like the fact that each chapter is rather small but gets to the point immediately.  I also like the short code snippets and the fact that relevant code is never buried into pages of code filling.  Highly recommended for .NET devs looking for a Silverlight 2 jumpstart.


  • MVP Summit 2009 Party Videos

    Here are the videos I took at the 2009 MVP Summit attendees party that was held at the Music Experience Project in Seattle. I took them with my tiny Casio digital camera so the picture and sound quality are not that good.  I’d like to credit all the MVPs who are in these videos but I don’t know them all.  If you can help me identifying them, I would appreciate that.

    You can get larger standard & Hi-Def views by following this link:

    SQL MVPs (Jean-René Roy – Canada, Allen White, Pinal Dave, Michael Coles, Rick Heiges, Steve Jones)

    Helio & the Windows Mobile  (?)

    Jeffrey Palermo (USA) singing MagaritaVille

    D’Arcy Lussier (Canada) with special guest star Karen Young

    Jeffrey Palermo (USA) singing YMCA

    Mickey Gousset singing Summer of 69

    Nick Landry (Canadian living in NY)

    ? singing “I Love TFS”

    MVP from Columbia singing Metallica’s Enter Sandman