ASP.NET unit testing – ASP.NET Bundle by Typemock

by nmgomes

Unit Testing ASP.NET? ASP.NET unit testing has never been this easy.

Typemock is launching a new product for ASP.NET developers – the ASP.NET Bundle - and for the launch will be giving out FREE licenses to bloggers and their readers.

The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both Typemock Isolator, a unit test tool and Ivonna, the Isolator add-on for ASP.NET unit testing, for a bargain price.

Typemock Isolator is a leading .NET unit testing tool (C# and VB.NET) for many ‘hard to test’ technologies such as SharePoint, ASP.NET, MVC, WCF, WPF, Silverlight and more. Note that for unit testing Silverlight there is an open source Isolator add-on called SilverUnit.

The first 60 bloggers who will blog this text in their blog and tell us about it, will get a Free Isolator ASP.NET Bundle license (Typemock Isolator + Ivonna). If you post this in an ASP.NET dedicated blog, you'll get a license automatically (even if more than 60 submit) during the first week of this announcement.

Also 8 bloggers will get an additional 2 licenses (each) to give away to their readers / friends.

Go ahead, click the following link for more information on how to get your free license.

Filed in: ASP.NET | Tools


Visual Studio Add-in - RockScroll

by nmgomes

A few months ago Scott Hanselman bring to all community fellows a new Visual Studio add-in called RockScroll.

RockScroll was an internal tool from Microsoft but Scott convinced Microsoft to allow him to make it available to community as a "Works on my machine" tool. This means that RockScroll is released with exactly zero warranty or support.

But what does this tool anyway? Simply replace the default vertical scrollbar  with an improved one where the background is the thumbnail of the current code file.

Well, better take a look.


As you can see this add-in let you know where you are editing in a more accurate way and, beside this, you can also easily locate comment lines, breakpoints and changed lines.

The only point I dislike is related to regions. Since the thumbnail is generated based on the file content, if you have collapsed regions you will find difficult to scroll exactly where you want.

You can use it in both in Visual Studio 2005 and Visual Studio 2008. The Visual Studio 2010 will be shipped with a similar scrollbar(probably an improved version of RockScroll).

I've been using it in VS 2005 since was made available and I can say I didn't notice any related problem or performance hit.

You can get it here. Go try it now.

I made this post draft in September and forgot to publish it. Since then I redirect all colleagues and friends that notice I was using this add-in to this blog. Only a few days ago I notice the post wasn't there so, to them, my apologies.

Filed in: Tools


Less MSIèrables - Extract the content of a .MSI file

by nmgomes

Yesterday, I decided to spent some time reviewing the WindowsLiveWriter plugin gallery and search for a replacer for Steve Dunn CodeFormatter plugin. I've been using this plugin since the beginning of the year but it reveal some problems composing the Html.

My friend Paulo told me about Douglas Stockwell "Paste from Visual Studio" plugin and I decided to try this one.

I download the vspaste.msi and tried to install it without success. As far as I understood (I didn't take this to depth) the .MSI was looking for a specific registry entry and since I'm using the portable version of WLW the key wasn't found.

I knew that WLW plugins don't required any special install procedure, they just need to be in the plugins folder.

I decided then to extract the .MSI content in order to be able to copy the assembly to the correct folder in my flash drive.

Searching the web I found a little tool called "Less MSIèrables" that exactly feets my needs.

It's a free tool written in C# for .NET 1.1 that allow us to open an .MSI file, explore its contents, and extract selected items.


We can also run it from the command line.

Its not perfect and I found a few possible improvements:

  • GUI - adding Drag'n'Drop capability
  • GUI - adding a select/unselect all files checkbox
  • CPI - adding a -l option to list all files within a .MSI file
  • CPI - adding a -e option to extract a list of files

The good news is that author made the source code available, so anyone can extend the tool.

In conclusion, it's free, it's cool and I think I going use it many times in future, helping me to see if I really need to install a .MSI.

For those of you that prefer not to use free tools, Microsoft provides us with msiexec.exe tool. This one is available in Windows XP and higher and also allow us to extract .MSI files using the following syntax:

msiexec.exe /a vspaste.msi /qb TARGETDIR=c:\temp

Filed in: Tools