Christoc.com GP_Hosting_ContactForm Module


* Important *

When creating a project using this template, you should have named your project simply "ModuleName", not "Christoc.comModuleName". If you didn't do this, the easiest thing to do is close the solution, delete the folder from your DesktopModules folder, then create a new project.

Due to limitations in the templating capabilities of Visual Studio, you will need to make some minor changes, and double check a few things, before you package this module.

  1. Open up IIS Manager (start>run>INETMGR), go to your DNNDEV.ME website and make sure that DesktopModules is NOT a Virtual Directory/Application, if so, remove that.
  2. If you change the TARGET framework for the project, remove the WEB.CONFIG file that Visual Studio will add to your project.
  3. BEFORE checking the module into your source control environment check the following.
  4. Edit the Project properties by double-clicking on the Properties folder in Solution Explorer
  5. On the Web tab:
    1. Under 'Start Action', make sure to set your Start URL to the correct site (ex: http://dnndev.me/).
    2. Under 'Servers', make sure to "Use IIS Web Server" with a project url of http://dnndev.me/desktopmodules/GP_Hosting_ContactForm and an Override application root URL of http://dnndev.me/

DotNetNuke Module Development Tutorials

Steps after your project is setup.

  1. To Build and Package your Module you need to change to Release mode and then simply choose Build from the Build menu. The MSBuild scripts will do the packaging process for you. The packaging process creates an INSTALL and a SOURCE package in the INSTALL folder within your desktopmodule/modulename folder.
  2. Installing your module in your development DotNetNuke instance is easy.Take the INSTALL ZIP file that is created in the INSTALL folder, upload that using the Host/Extensions page, Installation Wizard. Using the INSTALL ZIP file will overwrite the files already in this folder, but that shouldn't cause any problems as long as you install a recent build.
  3. After you've done a release for your module (typically deploying to an environment outside of your development environment) you should change the Version number, you need to do this in two places, the assemblyinfo file, and the .DNN manifest file. Next time you build the module in release mode you will get a new package (using the version number) created.
  4. For more information visit our DotNetNuke Consulting page.

After you are finished reading this Documentation you can delete the Documentation directory from your project.