Aspose DNN Module Development Template

Introduction

DNN (formerly known as DotNetNuke) is an open source and free CMS (content management system) based on the .NET framework. DNN allows you to create unlimited number of websites, either as root websites or for portals in a parent-child configuration. It is enriched with common CMS features like dynamic page creation, Skinning, Searching and custom module development.

Aspose.Total for .NET

Aspose.Total for .NET is a compilation of every .NET component offered by Aspose. We compile it on a daily basis to ensure that it contains the most up to date versions of each of our .NET components.

Using Aspose.Total for .NET developers can create a wide range of applications, each leveraging the combined power of Aspose’s .NET components.

Aspose.Total for .NET includes the following components.

Module Features

Aspose for .NET DNN Module Development Template provides a quick and easy way to use module development template for DNN 7+. This module development template can automatically download Aspose components and seamlessly add them to your DNN module project during project creation.

The new improved version provides the following features:

  • Supports Visual Studio 2010, 2012 and 2013.
  • Create DNN modules with C# or VB.NET.
  • Create DNN modules with the new DAL2 data access layer available in DNN 7 for C# or VB.NET.
  • Select one or more Aspose components during module creation.
  • The latest version of the selected Aspose components are automatically downloaded and referenced in your DNN Module.
todo:image_alt_texttodo:image_alt_text

System Requirements and Supported Platforms

In order to install and use Aspose .NET Module Development Template for DNN you need to have one of the following Visual Studio version installed

  • Visual Studio 2010, 2012, 2013

Please feel free to contact us if you find any issues in installing or using this plugin.

Downloading

You can download Aspose .NET Module Development Template for DNN from one of the following locations

Installing

It is very simple and easy to install Aspose for .NET DNN Module Development Template, please follow these simple steps

  • Double click the downloaded VSIX file
  • A dialog will appear showing you the available and supported Visual Studio versions installed on your machine
  • Select the ones you want to add the DNN Module Development Template to.
  • Click Install

You will get a success dialog once the installation is completed.

Note: Please make sure to restart Visual Studio for the changes to take effect.

Using

Once you’ve installed the templates, you can set up a project based on them. To do so you should follow the steps below. Before you can use them, you should have installed Visual Studio 2010, 2012 or 2013 and Aspose DotNetNuke Project Templates (described above).

  1. Set up the DotNetNuke Development environment following the steps in the Wiki (the templates assume you have your development environment set up at http://dnndev.me/). Development Environment
  2. Run Visual Studio 2010, 2012 or 2013 as an Administrator (right-click the desk-top shortcut to do so)
  3. From the File menu, select New Project.
  4. Choose either C# or VB.Net from the Languages section of the new project dialog.

todo:image_alt_text

  1. Select the DotNetNuke Folder under your preferred language (C# or Visual Basic).
  2. Choose either the Aspose DotNetNuke C# Compiled Module or Aspose DotNetNuke 7 C# DAL2 Compiled Module template for your project template (or the VB.NET versions).
  3. For the new project creation screen using the following settings
    1. Name: ModuleName Something unique here, example DNNTaskManager
    2. Location: c:\websites\dnndev.me\desktopmodules
      This assumes you set up your development environment as instructed in step 1.
    3. Solution: Create new solution
    4. Create directory for solution : Unchecked If checked, this option will cause path problems. The templates assume that the SLN is in the same folder as the project file.
    5. Click OK.

A screen is shown containing all Aspose components (screenshot below).

\1. Select one or more components from the list. Each component’s common uses is shown upon selection. \2. Click Next to continue once done.

todo:image_alt_text

The Next screen shows the download progress for each selected component.

todo:image_alt_text

Once the downloading is completed the module is created with the selection components automatically reference.

todo:image_alt_text

This creates a folder under c:\websites\dnndev.me\desktopmodules\ModuleName which should contain all the files necessary for your module, including the solution.

There are a couple of final steps just to finalize the process, documented in the Documentation\Documentation.html file, which should open up automatically in Visual Studio after the project is created. Follow the steps to configure the final project properties and then you are ready to build/deploy a module. You can delete the documentation folder once you have completed those steps.

Video Demo

Please check the video below to see the module in action.

Support, Extend and Contribute

Support

From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.

This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.

You can log any issues or suggestions related to Aspose for .NET DNN Module Development Template using any of the following platforms

Extend and Contribute

Aspose.Total .NET for DNN is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.

Source Code

You can get the latest source code from one of the following locations

How to configure the source code

You need to have the following installed in order to open and extend the source code

  • Visual Studio 2010

Please follow these simple steps to get started

  1. Download/Clone the source code.
  2. Open Visual Studio 2010 and Choose File > Open Project
  3. Browse to the latest source code that you have downloaded and open VSIX_2010\VSPackage.sln

Source code overview

There are two projects in the solution

  • Aspose.CreateProjectWizard - Contains the integration with Visual Studio, selection and automatic download of Aspose APIs
  • VSIX Project - Contains DNN templates and installer project to generate VSIX installer file.