Take a look at http://code.google.com/p/autofac/wiki/MefIntegration
It's not a tutorial but shows how you could use MEF with Autofac.
I haven't tried it yet but I'm about to start using MEF (and probably
Autofac too) in my current project.
On Thursday, August 25, 2011, Kirsten Greed wrote:
> Th
I would either use MEF or I would use Autofac. I wouldn't mix them together.
They are both IoC containers, and are both around to solve the same problems.
I personally use MEF, but I worked on it so I'm a little bias. I would use MEF
if you don't want to take a dependency on something outside of
You might want to look at part 2 http://philipm.at/2011/0819/
On 25 August 2011 13:50, Jake Ginnivan wrote:
> Quite good timing actually, here is a post which backs up my point about
> staying away from unity if you want a well performing app:
>
> ** **
>
> http://philipm.at/2011/0808/
I don't agree that both MEF and Autofac are IoC containers. Sure they both
perform dependency injection, but MEF was never designed to solve the same
issues that today's IoC containers solve. MEF is more about architecture and
extensibility, where the IoC containers help us manage a set of stati
I agree. This issue is discussed several times on MEF's CodePlex site:
http://mef.codeplex.com/discussions/35083
http://mef.codeplex.com/discussions/43823
http://mef.codeplex.com/discussions/43424
Admittedly, these may be a little dated but some of Glenn Block's comments
are very enlightening.
Everyone's opinion on what defines an IoC container differs - even guys well
known in the DI area don't agree on what makes an IoC container. I know this
because we involved a lot of them throughout the development of MEF - some
worked on our team, Nick (Autofac) and Hammet (Windsor), and other
Let me start by saying that I'm in no way criticising MEF, in fact, I'm
really keen to use it in my current project.
I'm an outsider looking in - I'm about to start using MEF in my project so
that parts can be discovered and composed at runtime. As such, I can't
really comment (yet) on explicit d
We've just finished a project using Caliburn.Micro:
http://caliburnmicro.codeplex.com/
It's pretty easy to use and nice a light.
We also used MEF as the IOC container, had to do a couple of things
(on the server side) that it didn't do out of the box (unless I missed
them), such as spinning up o
Thanks for that David,
That was quite interesting =) I must admit I haven't used MEF in any heavy way,
my experience is using it in FunnelWeb for extensibility. I have the
opportunity in a few weeks to give MEF a spin in Silverlight as I am breaking a
codebase apart to make it modular. I will g
One thing I should note, is that I didn't mean to give the indication that MEF
is perfect - it isn't. I often get frustrated by certain design decisions we
made, the attributes annoyed me at first, however, I actually got used to them,
and now like applying them (I love being able to quickly loo
10 matches
Mail list logo