Entries Tagged as ‘C#’

September 18, 2007

The Migrations for .NET project is not dead yet!

I know, I know, since I got the chance to work full-time with Ruby I pretty much abandoned all of my .NET projects. Most of them died silently, in piece. They are now gone to a better world, with full coverage and never failing tests, clean and usable design, fast and beautiful code, funny and [...]

July 12, 2007

The Hacker’s Healthy Guide, a simple 3 steps algorithm

I love to eat! In fact I eat a lot! And I have the great fortune to be the partner of one marvelous chef
that cooks amazing meal almost every day!
But I’m a hacker, I like coding even more then I like to eat. So I spent most of my time sitting in front of [...]

May 16, 2007

DevTeach : The .NET place to be

Just came back from DevTeach day 2. Wow! So much great speakers. A year ago, I would never had tough that Montreal was a place for such a great event. I’m pretty proud to’ve been a part of it.
Now! Enough for the flattering.
First I attended Claudio Lassada’s Tips & Tricks to boost up productivity session. [...]

May 3, 2007

Great Castle Windsor articles

Alex of Bitter Coder got some great articles about Castle Windsor container project.
Here’s the last one about Startable Facility or if you’re new to this great tool start with Part I – Simple configuration.
Nice work Alex, thanks for sharing your knowledge.

May 1, 2007

Finally some good moves from MS

Some Microsoft insiders recently announced the upcoming release of a Dynamic Language Runtime (DLR) built on top of CLR.
I’m a little confused by the Silverlight project web site, on the front page you can read:

Silverlight offers a flexible programming model that supports AJAX, VB, C#, Python, and Ruby, and integrates with existing Web applications.

But browsing [...]

March 29, 2007

C# Generic headach

I recently converted some code to use Generic types in C# 2.0 and got the following error:
Cannot create an instance of … because Type.ContainsGenericParameters is true
Turns out, you can’t dynamically call methods on a generic class. Well you can, but you kind of have to convert the generic type to enable late bound reflection.

type = [...]

February 11, 2007

Agile Database fun with the Migrator

Since I released the Database Migrator for .NET, a lot of people have asked me if I’ve used it on real/large/live projects and how was my experience. Like any tools, it can be good and … it can be bad. Here’s a couple of guidelines or what some would call “Good Practices” (note my voluntary [...]

January 12, 2007

Ajax Scaffolding with Castle Generator

Dan Bunea created an generator for Ajax Scaffolding, check out the step by step instructions on his excellent blog, Becoming Agile.
Wow!

March 26, 2006

Code generator : the languages comparison

I’ve been hacking a code generator in various languages just to get the fell of each languages, none is the worst, but some are so much cooler. Here’s the results of my experimentation.
C#
Goods

Fast
Should run on any win32 machine with .NET

Bads

Too much of LOC
Had to use NVelocity has a template engine
Code to inject template bindings was [...]