[MonoTouch] Dependency Injection for monotuch

Adam Langley alangley at winscribe.com
Thu Oct 1 18:18:09 EDT 2009


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


More information about the MonoTouch mailing list