.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
我的问题是
一个好的Bingoogleable关键字是
AllowPartiallyTrustedCallersAttribute
无耻的插件:在中等信任度下运行 存储库已移动,您现在可以在此处找到所有新链接Ninject 2是我的最爱。Unity和AutoFac也都以中等信任度工作。编辑在查看了我的选项后,我决定选择Unity。一旦我在文档中找到了一些示例,我就可以使用它了这是一个没有任何瑕疵的插件!:)+谢谢你,我去看看