Same here...
From: wpf-di...@googlegroups.com [mailto:wpf-di...@googlegroups.com] On Behalf Of Michael Sync
Sent: mercoledì 24 febbraio 2010 08:48
To: wpf-di...@googlegroups.com
Subject: Re: [WPF Disciples] Suggestion on choosing IOC Container
I'm using Unity. I'm totally happy with it..
Thanks and Best Regards,
Michael Sync
Don't go the way life takes you.
Take life the way you go
http://michaelsync.net
On Feb 24, 8:47 am, Michael Sync <mchls...@gmail.com> wrote:
> I'm using Unity. I'm totally happy with it..
>
> Thanks and Best Regards,
> Michael Sync
>
> Don't go the way life takes you.
> Take life the way you go
>
> http://michaelsync.net
>
> On Wed, Feb 24, 2010 at 3:09 PM, Zhou Yong <football...@gmail.com> wrote:
> > Hi guys,
>
> > Currently I am using Ninject, but I have issue as follows:
>
> > The current stable build of Ninject is based on .NET Framework 2.0, and has
> > duplicate lots of classes from System.Core.dll of .NET Framework 3.5, one of
> > the most annoying class among them
> > System.Runtime.CompilerServices.ExtensionAttribute. which is conflicting
> > with the same class with the same full name inside System.Core,
> > Version=3.5.0.0.
> > Which is annoying and I regard it as a show stopper, since we cannot
> > reference the System.Core.dll if we already referenced Ninject.Core.dll in a
> > single project.
>
> > Ninject 2.0 which target .NET Framework 3.5 is in beta stage, and it seems
> > it's not continued by the author:
>
> >http://github.com/enkari/ninject
>
> > The workaround is to put the Ninject related stuff into a separate clean
> > assembly, but that's a kind of hack since we have too many assemblies right
> > now, and I am not so convinced about creating another assembly just for
> > workaround this particular issue.
>
> > There are many IOC containers over there:
>
> >http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersI...
On Feb 24, 9:22 am, Paul Stovell <p...@paulstovell.com> wrote:
> I tend to use Autofac <http://code.google.com/p/autofac/> for most new work
> - you can see how I used it with MVP and Composite WPF here:
>
> http://www.paulstovell.com/wpf-model-view-presenter
>
> Prior to Autofac I used Castle and Ninject. Coming from Ninject you'll find
> Autofac has all the features you expect and Nick is doing some very
> interesting work around adapters and lifetime management.
>
> Paul
> <http://www.paulstovell.com/wpf-model-view-presenter>
>
>
>
> On Wed, Feb 24, 2010 at 6:09 PM, Zhou Yong <football...@gmail.com> wrote:
> > Hi guys,
>
> > Currently I am using Ninject, but I have issue as follows:
>
> > The current stable build of Ninject is based on .NET Framework 2.0, and has
> > duplicate lots of classes from System.Core.dll of .NET Framework 3.5, one of
> > the most annoying class among them
> > System.Runtime.CompilerServices.ExtensionAttribute. which is conflicting
> > with the same class with the same full name inside System.Core,
> > Version=3.5.0.0.
> > Which is annoying and I regard it as a show stopper, since we cannot
> > reference the System.Core.dll if we already referenced Ninject.Core.dll in a
> > single project.
>
> > Ninject 2.0 which target .NET Framework 3.5 is in beta stage, and it seems
> > it's not continued by the author:
>
> >http://github.com/enkari/ninject
>
> > The workaround is to put the Ninject related stuff into a separate clean
> > assembly, but that's a kind of hack since we have too many assemblies right
> > now, and I am not so convinced about creating another assembly just for
> > workaround this particular issue.
>
> > There are many IOC containers over there:
>
> >http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersI...
On 2/24/10, Paul Stovell <pa...@paulstovell.com> wrote:
> I tend to use Autofac <http://code.google.com/p/autofac/> for most new work
> - you can see how I used it with MVP and Composite WPF here:
>
> http://www.paulstovell.com/wpf-model-view-presenter
>
> Prior to Autofac I used Castle and Ninject. Coming from Ninject you'll find
> Autofac has all the features you expect and Nick is doing some very
> interesting work around adapters and lifetime management.
>
> Paul
> <http://www.paulstovell.com/wpf-model-view-presenter>
--
Sent from my mobile device
After using MEF for a while you quickly see the benefits and the
attribs don't get in the way. We also allow you to put exports on the
interface itself through usage of InheritedExport which removes the
need for attributing exporters. Finally you can create your own domain
specific attributes which express exports / imports on your own terms.
As far as using it for your general IoC needs, we've never said you
cannot do it, we've said consider your needs and how they match up. If
open generics, aop, centralized config / convention over attributes
are all critical then MEF may not be the best choice.
I use it though for many of my basic IoC needs and it works.
It is all about proper expectations.
Glenn
--
By a show of hands, how many folks would use MEF if not for attributes?
Glenn
On 2/24/10, Zhou Yong <footb...@gmail.com> wrote:
--