Does NInject work in medium trust hosting?

Posted by Gabriel on Stack Overflow See other posts from Stack Overflow or by Gabriel
Published on 2010-04-11T08:24:25Z Indexed on 2010/04/11 8:33 UTC
Read the original article Hit count: 323

Filed under:
|
|
|

I'm doing shared hosting with GoDaddy and I developed a sample ASP.NET MVC app using Castle Windsor and unfortunately, it didn't work in a medium trust setting. Specifically, I got this error: "[SecurityException: That assembly does not allow partially trusted callers"... etc. GoDaddy is sadly not flexible in their trust policy.

I'm not tied to Windsor and would like to try another one that will work under Medium Trust. I'd actually like to use NInject, but I've read people having mixed success. The only one I've read that works with no problem is Microsoft's Unity.

My question is, does NInject work in medium trust? If not, what are my options?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about ninject