.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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: