[MonoTouch] Dependency Injection for monotuch

Adam Langley alangley at winscribe.com
Thu Oct 1 20:29:37 EDT 2009


Yep, Funq works too. Thanks for that one.

So currently out of 

1. Windsor
2. AutoFac
3. Ninject
4. StructureMap
5. Spring.Net
6. PicoContainer.NET
7. Funq

These containers work

1. PicoContainer.NET
2. Funq

Adam Langley


 Please consider the environment before printing this email!


-----Original Message-----
From: monotouch-bounces at lists.ximian.com [mailto:monotouch-bounces at lists.ximian.com] On Behalf Of Håvard Stranden
Sent: Friday, 2 October 2009 11:32 a.m.
To: monotouch at lists.ximian.com
Subject: Re: [MonoTouch] Dependency Injection for monotuch

Tried Funq? It is an expression based DI container (no runtime
reflection), and was created for the mobile application blocks. Check
out http://funq.codeplex.com/.

-- 
Håvard Stranden



On Fri, Oct 2, 2009 at 12:18 AM, Adam Langley <alangley at winscribe.com> wrote:
> I have been researching which DI frameworks work with monotouch.
> I have found that pretty much none of the ones I tried do.
>
> I have tried:
> Windsor
> AutoFac
> Ninject
> StructureMap
> Spring.Net
>
> Going to attempt PicoContainer today...
>
> And I have used .net 2.0 versions (trying to avoid 3.5 references) where
> possible.
> Anything that uses Linfu Reflection.Emit will fail, and several of these
> containers have references to System.Web.dll which isn't available on
> monotouch so they become useless too.
>
> I have started to roll my own, I really would prefer to use Windsor as
> Im so used to it - has anyone else gotten any of these to work with
> monotouch?
>
> Thanks
>
> Adam Langley
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
MonoTouch at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


More information about the MonoTouch mailing list