Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Codesmith template with Generics And Dal+ Support download
Previous Previous
 
Next Next
New Post 3/1/2007 11:56 PM
User is offline xiao qi
110 posts
www.DnnModules.cn
9th Ranked




Codesmith template with Generics And Dal+ Support download 

     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.

 
New Post 3/2/2007 3:55 AM
User is offline Michael Washington
2531 posts
ADefWebserver.com
5th Ranked










Re: Codesmith template with Generics And Dal+ Support download 

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
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 3/2/2007 5:36 AM
User is offline Rodney Joyce
1403 posts
www.smart-thinker.com
6th Ranked




Re: Codesmith template with Generics And Dal+ Support download 
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!

Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post 3/3/2007 10:48 PM
User is offline xiao qi
110 posts
www.DnnModules.cn
9th Ranked




Re: Codesmith template with Generics And Dal+ Support download 

      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.

 
New Post 3/4/2007 5:01 AM
User is offline Michael Washington
2531 posts
ADefWebserver.com
5th Ranked










Re: Codesmith template with Generics And Dal+ Support download 

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
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Codesmith template with Generics And Dal+ Support download
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP