Dynamic tests with mstest and T4

 Mar 5th, 2011 

If you used mstest and NUnit you might be aware of the fact that the former doesn’t support dynamic, data driven test cases. For example, the following scenario cannot be achieved with the out-of-box mstest: given a dataset, create distinct test cases for each entry in it, using a predefined generic test case. The best […]

Continue reading »

To visualize or not to visualize

 Nov 16th, 2009 

VSImageVisualizer is one of my free open-source projects. Basically, it is debug visualizer for images for Visual Studio 2008 that allows developers to inspect the graphical representation of Image objects while in Debug mode. Check the project page for more info.

Continue reading »

New Windows Azure Tools (July 2009)

 Jul 21st, 2009 

After releasing the pricing scheme and the business model, Microsoft announced a new set of tools for Windows Azure. Windows Azure Tools for Microsoft Visual Studio extend Visual Studio 2008 and Visual Studio 2010 Beta 1 to enable the creation, building, debugging, running and packaging of scalable web applications and services on Windows Azure. The […]

Continue reading »

Software That You Should Install

 May 26th, 2009 

Here is a list of what I recently installed or I plan to install. It is a list of software (updates) that you might consider useful: Windows Vista/2008 Service Pack 2 It was released a few hours ago for general audience and it brings some important fixes. I think is a must-have. It is a […]

Continue reading »

Binding in WinForms like in WPF Part 1

 Jul 6th, 2008 

If you have ever used Windows Presentation Foundation (WPF) then you might have been impressed by the binding features of it. Part one of this tutorial will show how to bind properties of the same type while the second one will also anlyse type conversion. Using data binding you can synchronize object properties. The source […]

Continue reading »

How expensive are cross-domain operations?

 Apr 28th, 2008 

I was curios how expensive is a cross domain operation so I have made a test. The test procedure is simple. Perform a number of cross-domain and non cross-domain operations (get the value of NextNumber() from same domain and from another domain) and measure the time elapsed. For each value I have runned the application […]

Continue reading »

EventInfo.AddEventHandler – bug or not?

 Apr 16th, 2008 

Reflection is the process by which a computer program can observe and modify its own structure and behavior. The programming paradigm driven by reflection is called reflective programming. [Wikipedia] Working a few days ago on a plugin architecture on .NET Framework I’ve found something very interesting. The method System.Reflection.EventInfo.AddEventHandler does late-binding. You’ll probably say “so […]

Continue reading »