.net 哪个IOC容器以中等信任运行

.net 哪个IOC容器以中等信任运行,.net,inversion-of-control,castle-windsor,medium-trust,.net,Inversion Of Control,Castle Windsor,Medium Trust,嗨,我正试图得到一个网站运行与摩索有城堡温莎作为我的国际奥委会,但我得到以下错误 [SecurityException: That assembly does not allow partially trusted callers.] GoldMine.WindsorControllerFactory..ctor() in WindsorControllerFactory.cs:33 GoldMine.MvcApplication.Application_Start() in Glo

嗨,我正试图得到一个网站运行与摩索有城堡温莎作为我的国际奥委会,但我得到以下错误

[SecurityException: That assembly does not allow partially trusted callers.]
   GoldMine.WindsorControllerFactory..ctor() in WindsorControllerFactory.cs:33
   GoldMine.MvcApplication.Application_Start() in Global.asax.cs:70
我的问题是

  • 温莎城堡是否在中等信任下运营
  • 我可以下载DLL而不必重新编译nant吗?(因为我没有这个设置,也根本不知道nant)
  • 或者,是否有另一个我可以使用的IOC,我可以下载并以中等信任度工作
  • 谢谢


    一个好的Bingoogleable关键字是
    AllowPartiallyTrustedCallersAttribute

    无耻的插件:在中等信任度下运行

    存储库已移动,您现在可以在此处找到所有新链接

    Ninject 2是我的最爱。Unity和AutoFac也都以中等信任度工作。编辑在查看了我的选项后,我决定选择Unity。一旦我在文档中找到了一些示例,我就可以使用它了这是一个没有任何瑕疵的插件!:)+谢谢你,我去看看