Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does nhibernate work with medium trust out of the box?

Tags:

nhibernate

will nhibernate work under medium trust out of the box?

like image 688
mrblah Avatar asked Dec 29 '22 10:12

mrblah


1 Answers

Castle DynamicProxy2 dll needs to be updated to work with medium trust. Check this link

EDIT

With the solution above, you DON'T need to disable ANYTHING in NHibernate, including Lazy Loading. DynamicProxy2 just won't generate .pdb files on the fly, making everything run smoothly on medium trust.

like image 159
Francisco Aquino Avatar answered Jan 31 '23 14:01

Francisco Aquino