Fluent.Interface


.NET open source projects embrace C#3

Every now and then you come across an open source initiative that has taken the new C# lambdas language extensions and run with them.  My two favourite at the moment are AutoFac and Moq.  And yes they are an agile developers favourite toolbox items – a DI container and Mocking framework respectively.

AutoFac enables compile-time configuration of the container, and supports scoping object creation, so that you could have a different instance per transaction, per request etc.  And to top that off it has bench marked very well especially when using the lambdas expressions.

Moq brings the fluent interface of RhinoMocks into the lambdas world, and is equally impressive.

Both libraries have good documentation and are open sourced at google code.