DNN Blog

Jun 10

Posted by: Michael Washington
6/10/2006  RssIcon


DotNetNuke Module Development with Version 4.3

DotNetNuke has always been a great Framework, now module development has finally gotten easy. It is now possible to come up with an idea and in minutes start creating your vision.

 

Things have gotten so easy it's scary. You can use Visual Developer Express and create a DotNetNuke module in less than 5 minutes. You can easily leverage the extensive DotNetNuke Framework to build applications much faster than without DotNetNuke.

 

I feel the DAL+ and the Website Starter Kit are the last pieces that have finally made this the turning point for developers.

 

I have written a tutorial that demonstrates how easy module development can now be:

http://www.adefwebserver.com/DotNetNukeHELP/DNN_Things4Sale/

 

Why is this a big deal?

  • Finally anyone who knows how to program will be able to make modules
  • The DotNetNuke framework and Data Access Layer is complex and difficult for many to learn and comprehend. That has been simplified.
  • The Visual Studio configuration was complex. again, this has been greatly simplified.

 

The DAL+ allows you to use a lot less code:

To Create a module all you have to do is (the tutorial covers all these steps):

  • Create a directory in the “DesktopModules” directory  
  • Add a new Item

 <%@ Register Assembly="DotNetNuke.WebUtility" Namespace="DotNetNuke.UI.Utilities" TagPrefix="cc1" %><%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>

  • Put this in your code behind:

Imports DotNetNuke
Imports System.Web.UI
Imports System.Reflection
Imports DotNetNuke.Security.PortalSecurity
 …
Inherits Entities.Modules.PortalModuleBase

Tags:
Categories:

9 comment(s) so far...


Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

great job on the tutorial! Glad to see these all clicking at once! I noticed that your example supports sorting in the gridview - and seems much easier than what I went through to get my GV working on standard DAL. Thanks!

By wedwardbeck on   6/13/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

Thanks for this tutorial. That's great!

By hungtql on   6/13/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

Awesome tutorial...keep 'em comming!

BTW, Michael, I've been using your tutorials to learn how to create modules in VS 2005. One issue I've been having problems with and have noticed a lack of info on is "module.css". It seems when you build a native module in VS 2005, there is no easy way to include the module.css in the page stylesheet hierarchy...do you have a solution/recommendation? Thanks!

By favance on   6/14/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

Great!! This is how tutorials should be done!

chris

By mombassa on   6/25/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

This looks great. Is there any reason why I can't use VS2005 and SQL server or SQL express rather than the free express development system?

By galburt on   7/26/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

The directions are exactly the same for the full versions of VS2005 and SQL Server

By AdefWebserver on   7/26/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

Hi Michael, is it possilbe to use other MS SQL database, not the DNN default db? If so, where could I set up the connection string? Thanks, Honza

By hormart on   7/28/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

If you're not gong to use the DotNetNuke DB it's best to not use the DAL. Just code it like you would any other ASP.NET application. Otherwise consult the Data Access Guide on the downloads page.

By AdefWebserver on   7/28/2006

Re: Super Fast and Super Easy DotNetNuke Module Development with Version 4.3

Very good tutorial!
I'd like to see one with a kre practical example... a client or student database manager.
Fernando DUrán

By fdoduran on   11/11/2006
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

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

Advertisers

r2integrated
Telerik JustCode Free
Exact Target Exec Alert

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.