NHibernate Forge
The official new home for the NHibernate for .NET community

Introducing NHibernate ProxyGenerators

I am pleased to announce the first release of NHibernate ProxyGenerators, the latest addition to the NHibernate Contrib project.  NHibernate ProxyGenerators (NHPG)  is a simple utility that you can use to pre-generate lazy loading proxies for use with NHibernate.  Why would you want to pre-generate lazy loading proxies you ask?  The prime example is to make use of lazy loading functionality in a Medium Trust environment, like a shared hosting ASP.Net environment.  NHibernate will function in a Medium Trust environment but you were previously required to disable lazy loading for all of your entities.  The default behavior of NHibernate is to generate these proxies at runtime during your application’s startup, an operation that requires elevated permissions not present under Medium Trust.  NHPG now allows you to generate these proxies in your development or build environment (which should have the required permissions) and deploy them along with the rest of your application’s assemblies.

Please visit NHForge.org for complete reference information and tutorials.  Any feedback or issues can be sent to the NHibernate Users group and is greatly anticipated.


Posted sep 22 2008, 09:28 p.m. by Bill Pierce

Comments

Insert Catchy Title Here wrote Introducing NHibernate ProxyGenerators
on 09-23-2008 2:06

Introducing NHibernate ProxyGenerators

Wibber wrote re: Introducing NHibernate ProxyGenerators
on 09-24-2008 14:36

Can't wait to try this out.  I was about to jump to a different hosting provider because of the issues you mention.  

NHibernate blog wrote NHibernate ProxyGenerators 1.0.0 Beta Released
on 10-07-2008 11:44

I am pleased to announce the release of NHibernate ProxyGenerators 1.0.0 Beta.  This release uses

Powered by Community Server (Commercial Edition), by Telligent Systems