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...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?


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