What IOC containers work with Windows Azure

I am accessing Windows Azure. I usually use NInject as an IoC container in web applications. However, when I try to use it in the Azure web role, I get a security exception (do something with permission permission).

Has anyone used other IoCs with Azure and had succcess?

+3
source share
2 answers

I just worked today with Azure services (and not in a web role). Autofac IoC Container for .NET worked in this scenario.

+4
source

Ninject: http://groups.google.com/group/ninject/browse_thread/thread/8d5a0aff853c6b4f/20209877f8db179a?show_docid=20209877f8db179a

UseReflectionBasedInjection, Ninject Azure ( ):

var options = new KernelOptions
{ 
    UseReflectionBasedInjection = true
}; 
var kernel = new StandardKernel(options, new ModuleA(), new ModuleB(), ...); 
+2

All Articles