-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Medium Trust
PostPosted: Mon May 01, 2006 11:23 am 
Newbie

Joined: Mon May 01, 2006 11:14 am
Posts: 1
I've searched the fourms and found some info about using NHibernate in Medium Trust ASP.Net websites, but I just wanted to get an update.

Is Medium Trust supported? and if not, is it coming? I love NHibernate but this issue is a deal-breaker right now for me because I want my apps to be usable on web hosts that only allow Medium Trust so any info would be much appreciated.

As far as I can tell, the Castle.DynamicProxy library would be the main issue because it uses Reflection.Emit (I think, not having dived too far into the code). The other assemblies should work if they have the AllowPartiallyTrustedCallers attribute applied or the Strong Name removed. Any update on Medium Trust support would be much appreciated.

Thanks
Andrew


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 02, 2006 3:23 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I know that one of the problems with Medium Trust was the use of IL-based HashCodeProvider. This is now gone from the SVN version, but I don't know if it will be enough. So, if you can, please test the latest SVN version. It's possible to disable the use of DynamicProxy, but performance may greatly suffer as a result.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.