DNN Europe module template for client programming

DNN Europe LogoThis year on the DNN Europe meeting in Banyoles, Spain, myself and some guys from the german section talked about the new client site programming paradigm and that it would be nice to have a module template specifically for this approach. And so I build a template that creates a module which has all the features that are needed to build a modern DNN module including DAL2 and using client site technics like jquery and Knockout.

Prerequistes + Installation of template

  1. Installation of http://msbuildtasks.tigris.org/files/documents/3383/28296/MSBuild.Community.Tasks.msi. This is an open source project for MSBuild tasks

  2. Installation of DNNtc MSBuild for DotNetNuke module development (http://dnntcmsbuild.codeplex.com)

  3. Copy ZIP-File in the following folder: C:\Users%USERNAME%\Documents\Visual Studio 2012\Templates\ProjectTemplates\Visual C#\Web

Create project

  1. Create a new project and select the new template. Project target should be in DesktopModules of a DNN Installation with version >= 7.0.1. Doublecheck that "create directory for solution" is unchecked.

  2. After creation open folder "Installation" and copy the code of "01.00.00.SqlDataProvider" to the clipboard

  3. In Browser (DNN started and logged in as host user) under "Host - SQL" paste the code in the script-field and check "Run as script". Execute this.

  4. In VS project in "Models\Generated" select the file "Database.tt" and click "save": The (depending) file "Database.cs" is generated again and should contain now the code for the poco of the underlying table.

  5. Compile solution in "Release"-Mode (Install package and manifest .dnn5-File will be created)

  6. Copy .dnn5-File from "Installation" folder in Windows-Explorer temporarily one level up (to main project level).

  7. In DNN "Host-Extensions" -> select "Create new Module" -> "From Manifest", then select module folder + check "Add Test page", confirm.

Sample project

DNN Europe Client Development Module Template

This template includes a sample project with all the code which is needed to do CRUD operations on a sample table with grid view and paging. So it is a good starting point to begin developing with DNN and Knockout and helps understanding the main concepts.

You can download it here: Module Template

Total: 6 Comment(s)
I found it useful.
Thursday, July 19, 2018 · reply ·
Well! In the controller the technique call is changed over by PetaPoco to unadulterated SQL that missions the database and returns the information. The controller takes the information and believers them back to a question or IEnumerable and returns them to the Web API. In this layer they are changed over into json and sender back to the program where at long last Angular gets them back and consequently realizes the HTML relying upon the activity. I actually want to know about a site https://australianwritings.net/our-services/book-review/ which description mentioned here. Thanks for this effort.
Thursday, July 19, 2018 · reply ·
App Cloner for Android is an application that will allow you to make exact copies of any app on your smartphone or tablet. https://appcloner.xyz/
Tuesday, August 7, 2018 · reply ·
If forget your Microsoft accounts and you want to recover it then just click on this https://rememberpasswordsinmicrosoftedge.net/ and your problem is solved out.
Monday, August 20, 2018 · reply ·
James David
A piece of very useful information. Thanks for sharing it with us.
Friday, January 11, 2019 · reply ·
James David
Thanks for sharing the exact information. Reach http://www.13below.com/ they are also working well and providing the DotNetNuke development services.
Friday, January 11, 2019 · reply ·


Torsten WeggenMy name is Torsten Weggen and I am CEO of indisoftware GmbH in Hanover, Germany. I'm into DNN since 2008. Before this, I did a lot of desktop stuff mainly coded with Visual Foxpro (see http://www.auktionsbuddy.de). 

I'm programmer, husband, father + born in 1965.

Please feel free to contact me if you have questions.

Latest Posts

DNN module development with Angular 2+ (Part 7)
6/10/2018 1:43 PM | Torsten Weggen
DNN module development with AngularJS (Part 6)
12/16/2016 7:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 5)
12/16/2016 6:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 4)
12/16/2016 5:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 3)
12/16/2016 4:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 2)
12/16/2016 3:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 1)
12/15/2016 7:19 AM | Torsten Weggen
Blogging in DNN with Markdown Monster by Rick Strahl
11/27/2016 1:14 PM | Torsten Weggen
Creating a global token engine
11/18/2016 10:25 AM | Torsten Weggen
DnnImagehandler - Hot or not ?
2/21/2015 11:52 PM | Torsten Weggen

My Twitter

Torsten Weggen 10/11/2018

Evernote or OneDrive user and love #markdown #markdownmonster ? Take a look at Joplin! https://t.co/4bzkiD6CHn

Torsten Weggen 9/14/2018

@booler @kristofclaes @RickStrahl until a phone is not able to be a complete replacement for my laptop (with a dock) thats ridiculous

Torsten Weggen 9/12/2018

Just finished the course "Angular RxJs Reactive Programming & FREE Ebook" https://t.co/2H0Rk3NuRB via @udemy