Saturday, 02 May 2009

Check out it's Microsoft's online translation service which allows you to translate text on their site and also add the functionality to translate your own site, I've just added the drop down list to my blog so you now have the option of reading my blog in your own language, sorry if our language isn't available yet.

posted on Saturday, 02 May 2009 13:38:00 (GMT Standard Time, UTC+00:00)  #    Add Comment | Comments [1]
 Thursday, 30 April 2009

I seen some very good posts on this that include project and reg files necessary to set this up, however I run Vista 64 and found that the reg files didn't work for me. So after a poke around the registry I came up with the following two reg files that have done the trick for me. One for Visual Basic and one for C#.

If you want a complete description on how to register a custom testing framework with Visual Studio for use with ASP.Net MVC check out either of these links.

This zip file contains registry keys for C# and VB.NET: (.92 KB)
posted on Thursday, 30 April 2009 18:51:38 (GMT Standard Time, UTC+00:00)  #    Add Comment | Comments [1]
 Monday, 27 April 2009

Maintaining backwards compatibility has always been a pain, but with the Windows 7 Release Candidate almost upon us things look like they might get easier. It's been announced that Ultimate and Professional editions of Windows 7 will include a licensed copy of Windows XP. Windows 7 would then run a Virtual PC copy of Windows XP for legacy applications. You will select applications that run in 'XPMode' and these legacy applications will be executed within the virtual copy of Windows XP. I've seen Word 2003 running under XPMode in Windows 7 and it looks similar to VMware fusion on OS X.

You can get some more details on this here. An even more detailed explanation of this can be found on

posted on Monday, 27 April 2009 20:17:40 (GMT Standard Time, UTC+00:00)  #    Add Comment | Comments [0]
 Wednesday, 22 April 2009


Don't miss this opportunity to meet with the Irish TechNet team and have your questions on Windows 7 answered. The Windows 7 Road Show will include an overview of what's different in Microsoft's next operating system release, along with great demos giving you the opportunity to demo and win!! The Road show will be held at the University of Ulster's Magee Campus in the MS building at 18:30 on 25th May.

The agenda for the evening will be:

  • What's new
  • Upgrade path and licensing
  • Deployment
  • Dave Northey vs. Will Craddock - Windows 7 Demo Shootout
  • Public demo contest - prizes at stake for the best Windows 7 three-minute demos! ?
  • 'Install Fest' - Windows 7 Release Candidate provided

If you'd like to come along please register for this event on the Microsoft Events site.

Map to MS building where the Windows 7 Road Show takes place.
posted on Wednesday, 22 April 2009 12:37:45 (GMT Standard Time, UTC+00:00)  #    Add Comment | Comments [2]
 Tuesday, 21 April 2009
I’m going to show you how easy it is to build a Windows PowerShell Cmdlet using Visual Studio 2008, C# and my PowerShell Cmdlet templates available on CodePlex.
  1. Download my Windows PowerShell Cmdlet templates from CodePlex

  2. Run the VSI installer to install the project and item templates

  3. Open Visual Studio 2008 and select File->New->Project

  4. From the New Project dialog select  the ‘PowerShellCmdlet’ template

  5. Now right click on the project and select ‘Add New Item’. This will show the ‘Add New Item’ dialog. You can see that there are class templates for PSCmdlets, Cmdlets, SnapIns and XML helper files. For now select the Cmdlet template.

  6. The ProcessRecord method performs the actual processing for the Cmdlet, in this example we will just call the WriteObject method to display the ‘Hello World’ message.

    using System.Management.Automation;
    namespace HelloPowerShell
        [Cmdlet(VerbsCommon.Get, "HelloCmdlet")]
        public class HelloCmdlet : Cmdlet
            protected override void ProcessRecord()
                WriteObject("Hello World!");

  7. Again right click on the project and select add new item, this time select the ‘PowerShellCmdlet Help XML’. The template will automatically prefix ‘.dll-help.xml’ therefore you should just type ‘Get-Hello’ as the name.

    <?xml version="1.0" encoding="utf-8" ?>
    <helpItems xmlns="http://msh" schema="maml">
      <command:command xmlns:maml="" 
    xmlns:dev=""> <command:details> <command:name> hellocmdlet </command:name> <maml:description> <maml:para>hellocmdlet</maml:para> </maml:description> <maml:copyright> <maml:para>Copyright</maml:para> </maml:copyright> <command:verb></command:verb> <command:noun></command:noun> </command:details> <maml:description> <maml:para> hellocmdlet description </maml:para> </maml:description> </command:command> </helpItems>

  8. Now add another new item and select the ‘PowerShellCmdlet SnapIn’ template. Call this ‘HelloSnapIn.cs’

    using System.Collections.ObjectModel;
    using System.ComponentModel;
    using System.Management.Automation;
    using System.Management.Automation.Runspaces;
    namespace HelloPowerShell
        public class HelloSnapIn : CustomPSSnapIn
            private Collection<CmdletConfigurationEntry> _cmdlets;
            /// <summary>
            /// Gets description of powershell snap-in.
            /// </summary>
            public override string Description
                get { return "A Description of HelloCmdlet"; }
            /// <summary>
            /// Gets name of power shell snap-in
            /// </summary>
            public override string Name
                get { return "HelloCmdlet"; }
            /// <summary>
            /// Gets name of the vendor
            /// </summary>
            public override string Vendor
                get { return ""; }
            public override Collection<CmdletConfigurationEntry> Cmdlets
                    if (null == _cmdlets)
                        _cmdlets = new Collection<CmdletConfigurationEntry>();
                        _cmdlets.Add(new CmdletConfigurationEntry
                          ("Get-HelloCmdlet", typeof(HelloCmdlet), "Get-HelloCmdlet.dll-Help.xml"));
                    return _cmdlets;

  9. By default the SnapIn template fills out some sample information using MyCmdlet as the name simply change this to refer to Get-HelloCmdlet.

  10. You can build the project and get a dll

  11. Now start Windows PowerShell and run with administrator privileges as you will be installing a Cmdlet.

  12. If you are using a 64-bit version of windows issue the command:
    Set-Alias installutil C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe
    If you have a 32-bit version of windows issues the command:
    Set-Alias installutil C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe

  13. Now install your Cmdlet with the command:
    installutil HelloPowerShell.dll

  14. You can verify that the Cmdlet has been installed with the command:
    Get-PSSnapin -Registered

  15. Add the snap-in to your shell with:
    Add-PSSnapin HelloCmdlet

  16. You can run the Cmdlet with the command Get-HelloCmdlet and you should see the message “Hello World!”

For more details on installing and register your Cmdlet refer to:

posted on Tuesday, 21 April 2009 14:34:20 (GMT Standard Time, UTC+00:00)  #    Add Comment | Comments [0]