<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: NHibernate in a Medium Trust Environment</title>
	<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/</link>
	<description>Mike Gavaghan blogs on Java, C#, .Net, and the software industry</description>
	<pubDate>Tue, 07 Oct 2008 01:27:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: sarmaad</title>
		<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-62</link>
		<author>sarmaad</author>
		<pubDate>Tue, 02 Oct 2007 10:44:40 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-62</guid>
					<description>great post, but do you know if the new version of nhibernate have addressed this isse. i am struggling with this issue myself!!</description>
		<content:encoded><![CDATA[<p>great post, but do you know if the new version of nhibernate have addressed this isse. i am struggling with this issue myself!!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mike Gavaghan</title>
		<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-63</link>
		<author>Mike Gavaghan</author>
		<pubDate>Tue, 02 Oct 2007 11:40:13 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-63</guid>
					<description>I'm not sure what they plan to do.  Reflection and dynamic invocation are fundamental to the NHibernate design, so I don't think anything can be done to change the code.

On the other hand, I don't think this is a bug in NHibernate. I think the hosting providers are being unreasonable in their security settings.  I think the "fix" is to pressure the hosting providers into permitting the use of this basic and conventional programming mechanism.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what they plan to do.  Reflection and dynamic invocation are fundamental to the NHibernate design, so I don&#8217;t think anything can be done to change the code.</p>
<p>On the other hand, I don&#8217;t think this is a bug in NHibernate. I think the hosting providers are being unreasonable in their security settings.  I think the &#8220;fix&#8221; is to pressure the hosting providers into permitting the use of this basic and conventional programming mechanism.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Andrey</title>
		<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-69</link>
		<author>Andrey</author>
		<pubDate>Tue, 23 Oct 2007 07:15:56 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-69</guid>
					<description>Thanks for post, i bought shared hosting at 1and1.com, they too have same restrictions which doesn't allow Nhibernate works properly. I will ask them to allow using reflection without restrictions for my application, maybe i won't replace them on Webhost4life :).</description>
		<content:encoded><![CDATA[<p>Thanks for post, i bought shared hosting at 1and1.com, they too have same restrictions which doesn&#8217;t allow Nhibernate works properly. I will ask them to allow using reflection without restrictions for my application, maybe i won&#8217;t replace them on Webhost4life :).</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Manuel Abadia</title>
		<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-71</link>
		<author>Manuel Abadia</author>
		<pubDate>Wed, 31 Oct 2007 20:08:26 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-71</guid>
					<description>Mike,

you can disable the reflection optimizer setting putting this in the NHibernate config section:



That should work in medium trust if you don't access private members through reflection (forget using the accessor nosetter.camelcase-underscore).</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>you can disable the reflection optimizer setting putting this in the NHibernate config section:</p>
<p>That should work in medium trust if you don&#8217;t access private members through reflection (forget using the accessor nosetter.camelcase-underscore).</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Manuel Abadia</title>
		<link>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-72</link>
		<author>Manuel Abadia</author>
		<pubDate>Wed, 31 Oct 2007 20:10:10 +0000</pubDate>
		<guid>http://www.gavaghan.org/blog/2007/08/21/nhibernate-in-a-medium-trust-environment/#comment-72</guid>
					<description>I guess the less than and greater than characters are not friendly. This is what didn't show up before:

add key="hibernate.bytecode.provider" value="null"</description>
		<content:encoded><![CDATA[<p>I guess the less than and greater than characters are not friendly. This is what didn&#8217;t show up before:</p>
<p>add key=&#8221;hibernate.bytecode.provider&#8221; value=&#8221;null&#8221;</p>
]]></content:encoded>
				</item>
</channel>
</rss>
