I. Installing the templates
1. First of all you have to download Aspose.DNN.Templates_VS2013 from the given link: https://asposednn.codeplex.com/releases
2. Now double click on the downloaded file to install the templates in visual studio.
II. Creating Your Module
1. Now Run the Visual studio 2013 as administrator
2. Then go to File > New Project
3. You can choose either C# or VB.Net from the Languages section of the new project dialog
4. Select the DotNetNuke Folder under your preferred language (C# or Visual Basic)
5. Then choose either DotNetNuke C# Compiled Module for C# or DotNetNuke VB.Net Compiled Module for VB.Net
6. Fill new project details such as
i. Name: Module Name
ii. loaction : website path\desktopmodules\ (foreg: dnndev.me\desktopmodules)
iii. solution: Create new solution (this option might not be displayed, that is okay)
iv. create directory for solution: Unchecked (this will cause path problems if checked, the templates assume the SLN is in the same folder as the project file)
v. Add to source control: Unchecked (I typically get my project running before adding it to source control)
vi. Then Click OK
III. Installing your Module
1. For creating the installation package build your project in Release mode
2. Login to your website with Host/Superuser account
3. Go to Host->Extensions
4. Choose the Install Extension Wizard option
5. Click Choose File
6. Browse to your websitepath\desktopmodules\MyModule\Install\ and choose either the INSTALL or SOURCE package to upload ( for development we choose source because we require source for development and if we install in server then we install package)
7. Go through the steps for the installation wizard
IV. Creating page
1. Login to your website with Host/Superuser account
2. Go to Pages->Click Add New Page
3. Fill Page Details->Page Name
4. If you include this page in Menu then click Include in Menu otherwise not.
5. Click Add Page
6. Add your module in page
7. Click Modules ->Add new module->select your module->Drag your module in content pane.
Referred Link : http://www.dnnsoftware.com/community-blog/cid/148579/using-the-new-module-development-templates-for-dotnetnuke-7
0 Comment(s)