Congratulations, your module project has been created!

Next Steps

Run Unit Tests

  1. Build the solution in Debug mode and verify there are no errors
  2. On main Visual Studio menu: TEST > Run > All Tests. See output in Test Explorer window

Package and Deploy the module

  1. Build the solution in Release mode
  2. Verify an install folder was created in the module root folder with two zip files: *_Install.zip and *_Source.zip
  3. Open your web browser and open the url for the current DNN installation
  4. Login as a SuperUser of the DNN instance
  5. Open Host > Extensions and click the Install Extensions Wizard button
  6. Open the *_Source.zip extension package and complete the wizard
  7. Return to Visual Studio. You may see the message "The solution '*' has been modified outside the environment". Click Reload and ignore. Essentially we just overwrote our code folder with the same files from our source package.
  8. Place the new module onto a page. You may have to add a user to your portal in order for the sample code to add an item

Customize your module

Tear out our code and put yours in! If you must add new view, edit, or settings usercontrols, you must alter the *.dnn manifest file and re-install the module. To debug, rebuild the module project in Debug mode and select Debug > Attach to process. Attach to the IIS or IIS Express process depending on your webserver. Whenever you are ready to deploy, build your module in Release mode to create the packaging. Likely you will deliver the Install package to your users which won't contain the tests or this documentation.


For more information or for updates to the project, go to DotNetNuclear.com

Module Attributes Value
Root Namespace $rootnamespace$$solutionname$
Project Name $solutionname$
Module Owner $ownername$
Owner Email $owneremail$
Owner Website $ownerwebsite$
Development Url $devenvironmenturl$
Year $year$
DotNetNuclear Module Development Templates