【问题标题】:does nhibernate work with medium trust out of the box?nhibernate 开箱即用是否具有中等信任?
【发布时间】:2009-11-25 23:49:43
【问题描述】:

nhibernate 会在中等信任下开箱即用吗?

【问题讨论】:

    标签: nhibernate


    【解决方案1】:

    Castle DynamicProxy2 dll 需要更新才能使用中等信任度。 检查this link

    编辑

    使用上述解决方案,您无需禁用 NHibernate 中的任何内容,包括延迟加载。 DynamicProxy2 不会即时生成 .pdb 文件,从而使一切在中等信任下顺利运行。

    【讨论】:

      【解决方案2】:

      您的问题的答案是

      查看这篇文章,了解您需要做些什么才能让 NHibernate 在中等信任的 Web 环境中运行: http://nhforge.org/wikis/howtonh/run-in-medium-trust.aspx

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2010-10-17
        • 1970-01-01
        • 2011-02-01
        • 1970-01-01
        • 2010-09-22
        • 1970-01-01
        • 2011-10-12
        • 2011-03-28
        相关资源
        最近更新 更多