Aspose DotNetNuke Module Development Template provides a quick and easy way to use a module development template for DotNetNuke 7+ that can automatically download Aspose components and seamlessly add them to your DotNetNuke module project.
Aspose DotNetNuke Module Development Template includes the following features:
- Supports Visual Studio 2010 and Visual Studio 2012.
- Create DotNetNuke modules for C# or VB.NET.
- Create DotNetNuke modules with the new DAL2 data access layer available in DotNetNuke 7 for C# or VB.NET.
- Select one or more Aspose components during module creation.
- The latest version of the selected Aspose components is automatically downloaded and referenced.
How to Install the Aspose DotNetNuke Project Templates
Installing Aspose DotNetNuke project templates is pretty easy. There are multiple ways to install: choose one of these options below.
Install manually by downloading the VSIX file from the DNN Store
- Visit the DNN Store – Aspose DotNetNuke Module Development Template page
- Click ‘Add to Cart’ and then proceed to checkout to download the VSIX file
- Double click on the downloaded file to install the templates.
Install manually by downloading from Codeplex
- Download the VSIX file from Codeplex
- Double click on the downloaded file to install the templates.
Creating a DotNetNuke Module using the Templates
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 oe 2012, and Aspose DotNetNuke Project Templates (described above).
- 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
- Run Visual Studio 2010 or Visual Studio 2012 as an Administrator (right-click the desk-top shortcut to do so)
- From the File menu, select New Project.
- Choose either C# or VB.Net from the Languages section of the new project dialog.
- Select the DotNetNuke Folder under your preferred language (C# or Visual Basic).
- 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).
- For the new project creation screen using the following settings
- Name: ModuleName
- Something unique here, example DNNTaskManager
- Location: c:\websites\dnndev.me\desktopmodules\
- This assumes you set up your development environment as instructed in step 1.
- Solution: Create new solution
- 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.
- Click OK.
- A screen is shown containing all Aspose components (screenshot below).
- Select one or more components from the list. Each component’s common uses is shown upon selection.
- Click Next to continue once done.
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.