Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...New CodeSmith Templates for DNN 4New CodeSmith Templates for DNN 4
Previous
 
Next
New Post
2/22/2009 8:55 AM
 

I am using CodeSmith 5.0 now, started with 4. I haven't tested with the free version. The master / subtemplate scheme may not work in 2.0, but the subtemplates may work individually. I really haven't research what specific differences there are between the 5.0 and free version from a runtime standpoint.

 
New Post
2/22/2009 9:27 AM
 

Thanks Keith.  I may just experiment with codesmith 2.6 (the last free version that I know of).  If I do I'll report back.

 
New Post
3/30/2009 12:01 PM
 

Any word on your success with these templates, Chuck?

 
New Post
3/30/2009 5:45 PM
 

Hi Keith,

Did you include my Codesmith IHydratable enhancements? I think the majority of people use the 2.6 free version - can anyone confirm that it works?

Out of interest, here is my CS wishlist :

  • DAL+ Support
  • Generics support
  • TokenReplacement (IPropertyAccess support)

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
4/2/2009 8:43 AM
 

The templates support iHydrateable and I started from the templates you created as an example. Thank you for those. In addition they support custom CBO for tables that can use iHydratable because they don;t have a single integer key.

I've tested a couple with 2.6 and they seem to work, although the Master/Subtemplate system isn't supported in 2.6 so they have to be run individually. This hasn't been exhaustive testing because my focus has been on 5.0 and getting some projects completed. I am considering converting the support subroutines to an assembly to make them easier to debug and that will improve support for 2.6.

Using the master template (DNNMaster) and CodeSmith 5.0 (and 4) you can set up the parameters and it'll generate the entire module, stored procedures, providers, controller, info, view/edit/list ascx's, codebehinds, and resx. It also does a rudimentary master menu.

It will add commentary to the various code elements using the descriptions from the fields and it uses the description information from the database to generate help text in the .resx files.

I should have a version 3 ready soon with some more fixes and enhancements. No C# yet, just haven't had the time. 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...New CodeSmith Templates for DNN 4New CodeSmith Templates for DNN 4


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out