I can’t seem to get past the security excpetion with my current container, Ninject. I have signed all my libs etc.. Ninject just won’t work. So I pose this question:
What containers work out of the box without having to be rebuilt from source, in a medium trust shared hosting environment?
Unity is one example of a DI framework that works in medium trust.
This being said IIRC Ninject 2 works in medium trust as well. You could try setting the
UseReflectionBasedInjectionswitch totruewhich will instruct Ninject to use reflection instead of lightweight code generation. You may also look at this thread.