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.
Go to dnn Professional Forum: http://www.dnnme.cn if you have any questions
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: location where the new module is to be stored. dotnetnuke \ topics topmodules should be placed under this folder.
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, and the project URL also enters the dnn Homepage Address;
If you are prompted to create a virtual directory for the project, you can look at this: http://www.dnnme.cn/showtopic-161.aspx
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.
Now, our new module has been created. After the creation is complete, add it to the dnn system and wait for the next article...
If you have any problems during the operation, you can send them up. I will solve them at any time.
Posting address: http://www.dnnme.cn/showtopic-168.aspx
By the way, write the template provides: http://www.bitethebullet.co.uk/