Thursday, November 20, 2008     | Register
My HomePage
The Home Page of Rodney Joyce - Under Construction


I'm too busy developing modules to maintain my home page, but have a look here for a better example!
   
View_Blog
Aug 25

Written by: Rodney Joyce
8/25/2008

Do you use CodeSmith and the original DNNJungle C# templates to generate your DAL for your DotNetNuke Modules?


We've made some small changes to keep them up to date with the core changes, the main enhancment being the addition of the IHydratable Interface in the Info object. You can download our C# template set from our Free DotNetNuke Downloads page.

Replace your current DNNJungle "C# BLL Info Class.cst" file with this one "C# BLL Info Class IHydratable.cst" to get immediate performance gains with no other changes (the CBO class will automatically hydrate your object instead of using the more costly Reflection method). Note that this Info Object can be used with DAL+ templates too.

For more information on custom hydratrors and the IHydratable interface please see the follow links:

       
  
Please note that a lot of links on DNN to CodeSmith templates are outdated or missing. These are the exact templates we use in the Smart-Thinker Product Suite. They are downloadable as-is but are used at your own risk. Feel free to modify them for the good of the community or let us know on our Forums if you have any good suggestions to enhance them.

Future Templates we need:

  • DAL+ Controller
  • Controller Generics support
  • IPropertyAccess Enhancement to Info object (for Token Replacement)

Tags:

Re: DotNetNuke CodeSmith Templates with IHydratable

Please use the Forum link above if you have any questions on CodeSmith or the templates that we use as we can capture and share the knowledge.

By rod on   8/25/2008
© 2008 Smart-Thinker   |  Privacy Statement  |  Terms Of Use