Ever since MEF was conceived, despite the authors saying that it is not an IoC container, it has since evolved to become one of the more popular IoC containers. I’ve always avoided it because I disagree with using attributes, and I’ve had no reason to use it over Autofac or Windsor. Recently, I found a reason to use it – Metro-style applications only support MEF so far. My Twitter client ping.pong uses Autofac as the IoC container. It uses some very basic functionality like factories and hooks. To my surprise, MEF has no support for either of these.
Read on...