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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Codesmith template  with Generics And Dal+ Support downloadCodesmith template with Generics And Dal+ Support download
Previous
 
Next
New Post
3/2/2007 3:56 AM
 

     Here is my modification of codesmith for dnn 4.0 ,With generics And Dal+ Support .Please visit ftp://dnn:dnn@www.cenya.com/ for download.  This is simple than Lee Carter's version (Please see http://www.dotnetnuke.com/Community/BlogsDotNetNuke/tabid/825/EntryID/1308/Default.aspx) ,But It can work.

     Thank Vicenç Masanas for creating the original CodeSmith templates.And thank Michael Washington for brought the Dal+ .It  save a lot of code.

     Notice this template is mainly for my personal use,so if you feel something donn't fit, feel free to modify it. And it's only support c#, if anyone can convert it to vb.net,it will be good.


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
3/2/2007 7:55 AM
 

This is great  I updated my tutorial to provide a link to your templates. So far I have found 3 DotNetNuke CodeSmith templates:



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/2/2007 9:36 AM
 
xiaoqi98 - does this replace the version you sent me a while ago? I noticed you added DAL+ support - this was the only thing that was preventing me from switching to the DAL+ but I did not have time to code them - well done!

The DAL+ should spread rapidly now if there is less hand-coding!

Entrepreneur

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

 
New Post
3/4/2007 2:48 AM
 

      Thanks you ,Michael.  Your DNN Module Developer's Guide tutorial  are very helpful for me .I use it as teaching material for my team.

      For rodneyjoyce,This version is the same as the one I sent to you except the new C# BLL Controller Class (DAL+).cst .In which you can generate dal+ code.  Today I made a liitle modification of this file ,add GetNull method in this file to prevent null parameter exception. So if someone download before,please redownload it again.

     There are six template(.cst) file in zip.
     LocalStoredProcedure.cst, Use to generate stored procedure which can be directly excute in sql explore
     C# DataProvider.cst ,   generate abstract data access class
     C# SqlDataProvider.cst ,generate c# concrete sql data implement
     C# BLL Info Class.cst , generate business info class
     C# BLL Controller Class.cst,generate business controller class(Dal method)
     C# BLL Controller Class (DAL+).cst,generate business controller class(Dal + method)

     So if you want the traditional Dal model ,use C# DataProvider.cst ,C# SqlDataProvider.cst ,C# BLL Info Class.cst ,C# BLL Controller Class.cst.
     But if you want the new Dal+ model , use C# BLL Info Class.cst and C# BLL Controller Class (DAL+).cst.
   

    I also like  Lee Carter's version whick can generate ascx and resx files.I will see if I can convert it to c# template.And notice all above templates only test under codesmith 2.6.  Don't know if it can work in the new code smith version.


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
3/4/2007 9:01 AM
 

The templates are great. Would it be possible to replace the CBO as we are now recommending that you no longer use it. see: A Custom Hydrator for your Module

Thanks!



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Codesmith template  with Generics And Dal+ Support downloadCodesmith template with Generics And Dal+ Support download


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