Last night we all attended the second meeting of the .NET developer network in Bristol. It was another successful evening, with Alex Homer giving us a run down of some of the new features in the Microsoft Enterprise Library – notably the new policy injection application block. So far, we haven’t really experimented with the EL as there seems to be a fair amount of crossover with existing tools (log4net, Spring.NET and the castle project spring to mind), which brings me nicely to my point.
Whilst the P&P team are clearly doing good work with the EL library, I find it fustrating that they appear to be reinventing the wheel rather than promoting / supporting the OSS solutions which are already. If you want to implement policy injection today, Castle Windor would appear to offer an arguably more flexible and mature solution, yet there is no mention of this or Spring.NET on the blogs of the P&P team (whose job is surely to promote patterns and practices – not sell the EL).
I’m all for Microsoft promoting patterns and practices but I think they would get a lot more love from the community if they put their seal of approval on libraries such as NUnit, NAnt, log4net and Castle instead of re-implementing them.