Products

Solutions

Resources

Partners

Community

About

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!

The Community Blog is a personal opinion of community members and by no means the official standpoint of DNN Corp or DNN Platform. This is a place to express personal thoughts about DNNPlatform, the community and its ecosystem. Do you have useful information that you would like to share with the DNN Community in a featured article or blog? If so, please contact .

The use of the Community Blog is covered by our Community Blog Guidelines - please read before commenting or posting.


New Module Development Templates for DNN8

Originally Posted on ChrisHammond.com

With the release of DNN Platform 8 last week it is now possible to develop modules using SPA and MVC patterns within the DNN platform. As Part of the buildup of the DNN 8 release, Will Strohl provided a Pull request to my DNN Extension Project Templates project to help clean up some of the basic module templates to work better on Windows Azure environments, and to prep them for inclusion of new DNN 8 specific templates for SPA and MVC modules.

Early in the fall Joe Brinkman provided a partial SPA project, with the intention of it becoming a project template. I had a little time when it was initially submitted to work on it, but wasn’t able to get everything squared away on the template until early December. It wasn’t until last week that I got additional time to do further testing on the template and fix a few issues that occurred during the conversion to a project template.

On January 10th, I released the first iteration of the DNN8 project templates for Visual Studio 2015, this release included Will Strohl’s changes, my original templates, and the SPA template with fixes and customizations on what Joe Brinkman had provided. Later that week (Friday night to be exact) I went through the process of integrating the MIT licensed MVC template that Joe Brinkman had also created. I put this through a few rounds of testing, fixes, and released that on January 15.

As of now, the release is marked as a Beta on GitHub, but I would say that this is the one you should start with. As always if you have any feedback or questions, please let me know!

DNN8 Tutorials

With the release of DNN8 I put together a couple of quick video tutorials, with more coming in the next few weeks.

The first video is a DNN8 Installation Video, this video shows you how to setup DNN8 in a local development environment using the local DNNDEV.ME url, this URL is embedded in the project templates, so if you want to use the templates it is suggested that you setup DNN in this way.

The second video tutorial is a video on how to find and install the Project templates using the Visual Studio Gallery.

Where to Create the Project

The SPA template follows the same approach as all of the other module templates in the collection, you create the Module project under the /desktopmodules/ folder. The MVC template is a little different, this project should be created in the /desktopmodules/mvc/ folder, this is important as the PATH for the references and the build path for  the DLL is setup for this, if you put the module elsewhere, it likely will not build, and will not work.

One thing to keep in mind with the project templates in Visual Studio, occasionally VS will freak out upon project creation, and in IIS will turn the DesktopModules folder into a “virtual directory”, this causes the DNN website to fail to load. If the site fails to load for you after creating a project from these templates, to into the IIS Manager, expand the website, and see if there is a little “arrow” on the DesktopModules folder, if so, right click on it and choose delete. This should resolve the problem.

DNNCorp Project Templates

During the time it took me to get all the kinks worked out on the code that Joe submitted, DNN Corp decided that they would manage and release their own templates. Competition typically makes things better right? We shall see, my experience with Corp managing templates in the past was poor, they never bothered to do anything with them, thus the reason I started maintain templates myself. If they can maintain them it will be a good thing for the community, but I have been maintaining DNN templates for going on 6+ years now, and know how I like them, and how best to work within a very well defined and specific development process, so I will continue to develop and maintain my templates, and create tutorials for them.

Comments

DnnModule.com
Thanks for your templates, Chris.
DnnModule.com Tuesday, February 2, 2016 2:53 AM (link)
jitendrudu lacaraju
Hi,
Can you tell me how to work with AMD , KO in the SPA templates?
Specifically I am working with ESRI ArcGIS API for a map module.
jitendrudu lacaraju Thursday, August 10, 2017 3:14 PM (link)

Comment Form

Only registered users may post comments.

NewsArchives


Aderson Oliveira (22)
Alec Whittington (11)
Alessandra Daniels (3)
Alex Shirley (10)
Andrew Hoefling (3)
Andrew Nurse (30)
Andy Tryba (1)
Anthony Glenwright (5)
Antonio Chagoury (28)
Ash Prasad (37)
Ben Schmidt (1)
Benjamin Hermann (25)
Benoit Sarton (9)
Beth Firebaugh (12)
Bill Walker (36)
Bob Kruger (5)
Bogdan Litescu (1)
Brian Dukes (2)
Brice Snow (1)
Bruce Chapman (20)
Bryan Andrews (1)
cathal connolly (55)
Charles Nurse (163)
Chris Hammond (213)
Chris Paterra (55)
Clint Patterson (108)
Cuong Dang (21)
Daniel Bartholomew (2)
Daniel Mettler (181)
Daniel Valadas (48)
Dave Buckner (2)
David Poindexter (12)
David Rodriguez (3)
Dennis Shiao (1)
Doug Howell (11)
Erik van Ballegoij (30)
Ernst Peter Tamminga (80)
Francisco Perez Andres (17)
Geoff Barlow (12)
George Alatrash (12)
Gifford Watkins (3)
Gilles Le Pigocher (3)
Ian Robinson (7)
Israel Martinez (17)
Jan Blomquist (2)
Jan Jonas (3)
Jaspreet Bhatia (1)
Jenni Merrifield (6)
Joe Brinkman (274)
John Mitchell (1)
Jon Henning (14)
Jonathan Sheely (4)
Jordan Coopersmith (1)
Joseph Craig (2)
Kan Ma (1)
Keivan Beigi (3)
Kelly Ford (4)
Ken Grierson (10)
Kevin Schreiner (6)
Leigh Pointer (31)
Lorraine Young (60)
Malik Khan (1)
Matt Rutledge (2)
Matthias Schlomann (16)
Mauricio Márquez (5)
Michael Doxsey (7)
Michael Tobisch (3)
Michael Washington (202)
Miguel Gatmaytan (3)
Mike Horton (19)
Mitchel Sellers (40)
Nathan Rover (3)
Navin V Nagiah (14)
Néstor Sánchez (31)
Nik Kalyani (14)
Oliver Hine (1)
Patricio F. Salinas (1)
Patrick Ryan (1)
Peter Donker (54)
Philip Beadle (135)
Philipp Becker (4)
Richard Dumas (22)
Robert J Collins (5)
Roger Selwyn (8)
Ruben Lopez (1)
Ryan Martinez (1)
Sacha Trauwaen (1)
Salar Golestanian (4)
Sanjay Mehrotra (9)
Scott McCulloch (1)
Scott Schlesier (11)
Scott Wilkinson (3)
Scott Willhite (97)
Sebastian Leupold (80)
Shaun Walker (237)
Shawn Mehaffie (17)
Stefan Cullmann (12)
Stefan Kamphuis (12)
Steve Fabian (31)
Steven Fisher (1)
Tony Henrich (3)
Torsten Weggen (3)
Tycho de Waard (4)
Vicenç Masanas (27)
Vincent Nguyen (3)
Vitaly Kozadayev (6)
Will Morgenweck (40)
Will Strohl (180)
William Severance (5)
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out