Archive for March 2006

Con Fusion

One fine Tuesday, I arrived at work to find this box on my desk: gillette fusion
Strange, this must have been a mistake or something. I inquired quite loudly to a co-worker, “What’s with this Gillete Fusion box?”. “It’s a gift”, was the reply. “Am I not shaving enough or something?”, I joked, and everyone laughed.

A colleague came over to me and explained that a rep from Gillette came the day before and, like Santa, gave everyone in the office a box of two Gillette Fusion razors each. I was working from home that day, thus I missed out on the fun. Apparently the rep said that he went to our website and saw all the pictures of unshaven programmers on it, and decided to give us these gifts. Right – nice ruse.

This was one upgrade that I didn’t need. I usually shave infrequently (usually twice a week), and one razor blade will usually last me a month – and oh, I have about 10 blades left from the Costco 16 pack I bought some time ago. Most of the time we have to deal with clients over the phone, so not being close shaven is ok. I held out using the Gillette Sensor and not upgrading to a Mach 3 – until I got one as a gift. Besides – Sensor blades cost the same as Mach 3 ones, so it didn’t make a difference if I upgraded.

The total cost of the package – 2 razors and 4 blades – would have cost (2 x $13.99 + 1 x $17.99)= $45.97 Canadian, without taxes. Pretty generous gift. But it doesn’t make economic sense to upgrade – a 4 pack of Fusion razors costs $17.99 Canadian, versus a 4 pack of Mach 3s at $11.49 each. Thats a 57% increase in expenditure for razors if I chose to go the Fusion route! Nice try, Gillette.

Maybe I should just keep a sharpened machete handy, and shave like Crocodile Dundee…

[another reason to be wary of Gillette, with the most silliest anti-shoplifting campaign ever… no wonder new version Gillette blades cannot be picked up off the shelves here in Canada and can only be bought near or behind the counter)

WSCF 0.6 for Visual Studio 2005

Web Services Contract-First (WSCF) is an add-in for Visual Studio that has been recently updated to support Visual Studio 2005, and it is free.

Web Services in Visual Studio (through ASP.NET) is ridiculously easy to implement. So what exactly is WSCF? Right now in Visual Studio, you generate your code first, in C# or one of the other .NET languages. Then from your code, the interface definitions for your web service is generated (the WSDL, or Web Service Definition Language).

WSCF basically works (in a nutshell) in the opposite direction – you first generate the definition of your interfaces in a schema, then the tool will generate the WSDL code, then the implementation code stubs for your web service from the WSDL.

This accomplishes one main thing, your “contract” (your web service interface) and messages are not tied to a specific implementation language, like C# – just in case you need to switch platforms, etc. This is a boon for shops that want to prevent vendor lock-in, or to have an option to upgrade (or downgrade?) to a different platform (say going from Windows ASP.NET servers to a Sun Java web services option…). Never limit your options, I say…