HomeHomeDevelopment and...Development and...Getting StartedGetting StartedC# CodeSmith Templates for DNN 6?C# CodeSmith Templates for DNN 6?
Previous
 
Next
New Post
7/27/2011 2:48 AM
 
I'm currently trying to complete the CrewStone DNN CodeSmith rel 3 templates (and here) for C#, however, if there's something else I've not found, I'd appreciate it if someone could point me in the right direction. 

I really prefer to work in C#, but if anyone knows if the CrewStone templates are the most complete for VB.NET, please let me know. 

I'm open to commercial templates as well if there are any out there. 

It seems like the most recent templates are all 2009 or earlier. 

Thanks in advance for any pointers. 
 
New Post
7/27/2011 3:06 AM
 
If you are just looking for a quick c# template the http://www.dotnetnuke.com/Resources/B... christoc template is very popular ... it does not however offer any DAL builder support but then again for in house custom modules linq2sql is much easier to work with in the vs development environement.

Westa
 
New Post
7/27/2011 4:06 AM
 
Wes Tatters wrote:
If you are just looking for a quick c# template the http://www.dotnetnuke.com/Resources/B... christoc template is very popular ... it does not however offer any DAL builder support but then again for in house custom modules linq2sql is much easier to work with in the vs development environement.

Westa

Thanks Wes. I've actually already started with that. It's quite nice, but missing that extra bit in the DAL. 

I've been doing mostly Windows Forms development for the last few years, and forgotten a lot when it comes to DNN, so I was hoping to use a C# CodeSmith template like I used to do years ago. The problem is that most are older than 2009, with some already being ancient by 2009, and I'm not exactly certain if they're current enough for DNN 6. 

Chris' templates were fantastic to get me started. It's just that data layer code now... I could really use something to jump start me there. 

Or, if anyone knows a good tutorial that could help me get up to speed, that would be good as well. I'm just really shaky on the whole data thing for DNN. I've not done anything like it in a long time. 

Thanks again!

Ryan

 
New Post
7/27/2011 4:28 AM
 
A lots changed too in the dnn api over that time - specially now dnn600 is c# native.

But ironically what has changed little if at all internally in dnn is the core DAL  - since gee maybe 2.0 - so in fact any older documents on the DAL will pretty much be the same today.

Have a look on www.snowcovered.com there are a couple of dal builders there that build c# code and installer sql.

But there are other options used by different developers.

http://dnnlinqtosqladapter.codeplex.com/ provides full wrapper code for linqtosql that supports the dnn end user's database owner and object qualifier at runtimes.

http://dnnentityframework.codeplex.com/ does a similar thing for the entity framework.

Westa
 
New Post
7/27/2011 7:49 AM
 
Wes Tatters wrote:
A lots changed too in the dnn api over that time - specially now dnn600 is c# native.

But ironically what has changed little if at all internally in dnn is the core DAL  - since gee maybe 2.0 - so in fact any older documents on the DAL will pretty much be the same today.

Have a look on www.snowcovered.com there are a couple of dal builders there that build c# code and installer sql.

But there are other options used by different developers.

http://dnnlinqtosqladapter.codeplex.com/ provides full wrapper code for linqtosql that supports the dnn end user's database owner and object qualifier at runtimes.

http://dnnentityframework.codeplex.com/ does a similar thing for the entity framework.

Westa

That's good to know. I remember migrating from 2.1.2 to 3.x was nightmarish... I suppose that has me a bit gunshy with new versions still.

I looked at those adapters, but Bruce's comments scared me off a tad. I'll have to go back and experiment some then.

And thanks for mentioning SnowCovered. I don't know why I never checked there before... It looks like there are a few things available.

Cheers!

Ryan 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedC# CodeSmith Templates for DNN 6?C# CodeSmith Templates for DNN 6?


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.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.