DotNetNuke Module Development - Engage Modules

10 downloads 1019 Views 115KB Size Report
Apr 28, 2008 ... Engage Software is a leader in the DotNetNuke ® community, specializing in module development, skinning, and training. Engage has been ...
DotNetNuke Module Development April 28, 2008

Christopher J. Hammond, Engage Software

Christopher Hammond

Contact Info Company: Engage Software Address: 11811 Manchester Rd, Des Peres, MO 63131 Phone: 314-966-4000 x227 Email: [email protected] Blog: www.chrishammond.com

About Engage Software Engage Software is a leader in the DotNetNuke ® community, specializing in module development, skinning, and training. Engage has been involved in the DotNetNuke® community since DNN’s inception. Highlights: • Official DotNetNuke® Training Provider • DotNetNuke® Core Team Member and project contributors • Microsoft Certified Gold Partner On the Web: • Engage Software: www.engagesoftware.com • Engage Modules: www.engagemodules.com

Overview • • • • • • • •

DotNetNuke WAP Benefits Environment Configuration VS Template/Installation Getting Started DNN API Module Definition Packaging and Deployment

DotNetNuke • • • • • • •

Open Source Application Framework VB.Net Management Team Portals Modules Versions Future

Visual Studio Web Application Project • • • • •

Intellectual Property Single DLL Simplicity Module Project Configuration

Environment Configuration • • • •

Local DNN Source Installation ASP.NET Machine Account(XP/2000) DNN Database (2000/2005) Web.config – objectQualifier="dnn_" databaseOwner="dbo“ –

• IIS Virtual Directory (localhost/dotnetnuke_2)

VS Template Installation • File – VB – C#

• Location – –

C:\Documents and Settings\chammond\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Basic\Web C:\Documents and Settings\chammond\My Documents\Visual Studio 2005\Templates\ProjectTemplates\C#\Web

Getting Started • What are Module User Controls? – View Controls – Edit Controls – Settings Controls

• Create New Project – New Project – DotNetNuke Compiled Module

DotNetNuke API • Portal Module Base • Module Settings Base • Localization – Why use localization?

Packaging and Deployment • The Module Definition – Manual Registration

• The Module Manifest File – Importing a Manifest File – Module Installation

• Structural Approaches to the Manifest File • NAnt

Module Registration • Informational Section • Module Definition • Module User Controls

Module Manifest File • Module Registration – Informational – Module Definition • Controls

– Files

• Multiple Definitions • Multiple Modules

NAnt Packaging • .Build – Informational – Module Definition • Controls

– Files

• Command Line – Cd \ – cd inetpub\wwwroot\dotnetnuke\website\desktopmodules\engagestlnet\ – nant

Wrap Up • www.dotnetnuke.com • St. Louis DNNUG, 5/12/2008 6pm – DNN Scheduled Jobs

• www.dnnug.com