【发布时间】:2011-01-13 03:15:39
【问题描述】:
您好,我正在尝试使用 Mosso 运行一个以温莎城堡作为我的 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
我的问题是
- Castle Windsor 是否在中等信任下运行?
- 我可以下载 DLL 而无需使用 nant 重新编译吗? (因为我没有这个设置并且根本不知道 nant)
- 或者是否有其他 IOC 可供我下载并在 Medium Trust 中使用?
谢谢
【问题讨论】:
-
EDIT 在查看了我的选项后,我决定走统一路线。一旦我了解了文档并找到了一些示例,我就可以使用它了
标签: .net inversion-of-control castle-windsor medium-trust