Dnn independent development module

Source: Internet
Author: User
Tags dnn
Many of my friends feel that dnn development is complicated. Today, we provide you with a dnn C # development template, which can help you build dnn modules and facilitate development.

First, let's download it and see how to build your own module .....

This is for 2005: Visual Studio 2005 C # compiled dnn module Starter Kit
This is for 2008: Visual Studio 2008 C # compiled dnn module Starter Kit

1. Download the template and double-click it to start the installation process:

2. After the template is successfully installed, you only need to start Visual Studio 2005. You will have a new template, as shown below.

Name: name of the new module
Location: the location where the new module is to be stored. D: \ dnnstudy \ topics topmodules should be placed under the topics topmodules folder (a newly created Project)
Caeate directory for solution: deselected
Click OK
If:Unable to open the project file. This installation does not support this project type
The largest possible Chinese version of Sq1 patch did not hit please read this, help you complete: http://www.dnnme.cn/showtopic-167.aspx

3. The new modules are as follows:

4. Right-click the project name and choose properties:

Select the Web item on the left, set the startup URL, and enter the home address of your dnn;
The server selects the IIS web server. Enter the position of the new module in the project URL;
Rewrite an applicationProgramRoot URL: Enter the home address of your dnn;

If you are prompted to create a virtual directory for the project, you can look at this: http://www.dnnme.cn/showtopic-161.aspx

Add 2 DLL references

To add a module folder, there may be two layers of topmodules \ whmod to copy the next layer to the previous layer.

5. After compilation, find the DLL file of the module in the dnn \ bin folder.

This DLL file is added to the installation package during installation.

6. Execute the database Script Host> SQL. The script file to be executed is in the 01.00.00.sqldataprovider file. If the database table or stored procedure is changed, update the file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.