您好我正试图让一个运行Mosso的网站将Castle Windsor作为我的IOC,但是我收到以下错误。
[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
我的问题是
由于
答案 0 :(得分:3)
The Windsor stance seems to be doc'd / discussed here
StructureMap seems to as of 2.5。 SM 2.6 has no Reflection.Emit
一个好的Bingoogleable关键字是AllowPartiallyTrustedCallersAttribute
答案 1 :(得分:1)
无耻插件:Simple Injector在Medium Trust中运行!
答案 2 :(得分:0)
存储库已移动,您现在可以在此处找到所有新链接http://www.castleproject.org/git.html