What You Need:
- Visual Studio 2005 (This will not work with Visual Web Developer Express)
- Web Application Projects (WAP) for Visual Studio 2005 (download)
- SQL Server Express
(download) or SQL Server 2000/2005
- The latest copy of the DotNetNuke
"Source Version"
(download)
- The latest copy of the DotNetNuke
"Starter Kit"
(download)
Download the DotNetNuke Starter Kit
The DotNetNuke Web Application Framework and DotNetNuke Compiled Module will install as part of the Starter Kit
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul32.jpg)
Install DotNetNuke using
DNN Source Installation
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment_Source/images/Defaul14.jpg)
Double-click on the
DotNetNuke.sln file in the Windows file manager to open the Solution in Visual Studio
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment_Source/images/Defaul5.jpg)
Click on the root Solution node in the the
Solution Explorer
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul1.jpg)
From the menu bar select
File, then
Add, then
New Project
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul2.jpg)
In the
Add New Project dialog, click on
Visual Basic then
Web then on
DotNetNuke Compiled Module under
My Templates
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul33.jpg)
Also, in the
Add New Project dialog, click the
Browse button.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul4.jpg)
Navigate to the
DesktopModules directory
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul5.jpg)
Click the
Open button
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul31.jpg)
Also, in the
Add New Project dialog, enter
HelloWorld in the Name box
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul6.jpg)
The
Add New Project dialog should now be configured as follows:
- DotNetNuke Compiled Module template is selected
- Name is set to HelloWorld
- Locations is set to the DesktopModules directory
Click the Ok button.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul34.jpg)
The
HelloWorld project will be created
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul8.jpg)
Double-click on the
My Project icon under the
HelloWorld project
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul18.jpg)
Change the Root namespace...
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul20.jpg)
...to nothing and then click the Save icon on the toolbar.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul21.jpg)
Right-click on the project...
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul27.jpg)
...and
Build the Project
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul11.jpg)
The
HelloWorld project will Build
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul12.jpg)
Double-click on the
01.00.00.SqlDataProvider file under the
HelloWorld project
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul22.jpg)
Copy the entire SQL Script:
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul23.jpg)
Open the site in your web browser and log in using the
Host account.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul10.jpg)
On the
Host menu select
SQL
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul24.jpg)
Paste the SQL script in the SQL box.
Select the Run as Script box and click "Execute".
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul25.jpg)
On the
Host menu select
Module Definitions
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul13.jpg)
On the
Module Definitions menu, select
Create New Module
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul35.jpg)
At the top of the
Edit Module Definitions page, select
HelloWorld.dnn from the
Module Manifest drop-down and click the Install link
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul15.jpg)
On the
Module Definitions page click the pencil icon next to
HelloWorld to edit the module definition
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul28.jpg)
The optional interfaces (
Portable and
Searchable) will not be checked.
Click the Update Link
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul29.jpg)
The Module Configuration will now be properly updated
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul30.jpg)
The
HelloWorld module will appear in the Module list so that you can now add it to a page.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul16.jpg)
The tutorial is now complete.
![](http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/images/Defaul26.jpg)
Also see:
The ADefWebserver DotNetNuke HELP WebSite