smcculloch posted on August 07, 2008 09:12

Charles Nurse has a good blog entry on Hydrating Business Objects in DotNetNuke.
In DNN 4.6.0, a feature was added that allows you to override the default hydration behaviour by implementing the IHydratable interface. This is a great technique for increasing performance because you can define how to load objects at design time instead of using reflection (at runtime).
Personally, I've had to manually do this in a number of modules, but the method Charles provides is a very elegant way of handling it. Too bad the minimum version is DNN 4.6.0 and Ventrian modules are at DNN 4.5.5+.
I still run a number of sites at 4.5.5 and I suspect a lot of other people do as well (hence the minimum version here). If the DNN upgrade process was a little easier, perhaps I would upgrade more often.