DotNetNuke Modules – Creating Base Modules
Now that we have DotNetNuke installed into Visual Studio we can go ahead and create our first modules. Actually, creating the modules is pretty simple. But it is even easier to do it wrong, which is why you need to read this post.
Assuming you have your DotNetNuke project open, right-click on the project folder to bring up a menu. Select “Add New Item…” from the menu. This will bring up the “New Item Template” dialog. Under “My Templates” at the bottom of the list, you should see the template, “DotNetNuke Dynamic Module.” Click on this template, select the language you want to work in, and give the module a name. The rest of this series will be in CSharp, so if you want to follow along, you’ll want to select CSharp as the language you are using.
I’m going to name this module “DMBSample.” Note, it is absolutely critical that you run this template from the project folder, NOT one of the directories. If you don’t, you will either have to start over, or you’ll need to move the files around. You’ve been warned!
Once the template has completed running, you’ll need to rename two of the directories the template created. An HTML file will display at completion telling you exactly what you need to do. DO NOT just close that file thinking it is just a status message. Read it, at least the first time you create modules, and do what it says.
Other post in DotNetNuke - Module Development
- Creating DotNetNuke Modules - May 20th, 2008
- Creating DNN Modules - The Tools - May 22nd, 2008
- DotNetNuke Modules - Foundational Concepts - May 26th, 2008
- DotNetNuke Modules - Creating Base Modules - May 28th, 2008
- DotNetNuke Modules - Registering Your Module - May 29th, 2008
- DotNetNuke Modules - Where Stuff Shows Up - June 3rd, 2008
- DotNetNuke Modules - Anatomy of the View - June 9th, 2008
- DotNetNuke Modules - Adding Actions - June 11th, 2008
- DotNetNuke Modules - DNN Controls - Label - June 18th, 2008
- DotNetNuke - Internationalization - June 25th, 2008
- DotNetNuke Modules - Internationalization (part 2) - June 30th, 2008
- DotNetNuke Modules - Labels w/ no Help - July 9th, 2008
- DotNetNuke Modules - LinkButtons - July 14th, 2008
- DotNetNuke Modules - Collapsible Panels - July 16th, 2008
- DotNetNuke - The Data Layer - Installing CodeSmith - July 22nd, 2008
- DotNetNuke - Modules - Creating The Tables - July 24th, 2008
- DotNetNuke - Modules - Creating Stored Procs - July 29th, 2008
- DotNetNuke - Modules - Portal Specific Modules - July 31st, 2008
- DotNetNuke Modules - Data Access Layer - August 5th, 2008
- DotNetNuke Modules - Data Access Layer - August 7th, 2008
- DotNetNuke - Data Access Layer Alternative - August 12th, 2008
- DotNetNuke - Modules - Linking within the module - August 14th, 2008
- DotNetNuke - Make Your Module Searchable - August 19th, 2008
- DotNetNuke Modules - Making Content Portable - August 25th, 2008
- DotNetNuke Modules - Exceptions the DNN Way - September 2nd, 2008
- DotNetNuke Modules - PortalModuleBase - September 4th, 2008
- DotNetNuke Modules - Inter Module Communication - September 9th, 2008
- DotNetNuke Modules - Finding The Page a Module is On - September 15th, 2008
- DotNetNuke Modules - Caching - September 17th, 2008
- DotNetNuke Modules - Module Settings - September 22nd, 2008
- DotNetNuke Modules - Retrieving Settings - September 24th, 2008
- DotNetNuke Modules - Advanced Architecture - October 20th, 2008
- DotNetNuke Modules - Creating the PA - October 30th, 2008
- DotNetNuke Modules - Automating the PA - November 5th, 2008
- DotNetNuke - FileUploadControl Danger! - February 26th, 2009
- Changing an Existing DNN Module - March 4th, 2010
- Facebook App using DotNetNuke - January 19th, 2012
- DotNetNuke Modules - Install DNN into VS 2008 - June 19th, 2012
- DotNetNuke SecurityException AspnetHostingPermission - February 19th, 2013
- DotNetNuke Modules - Benefits of Architecture - April 9th, 2013
- Debugging TypeScript Under DotNetNuke - May 8th, 2013
Related Post
4 Pingbacks/Trackbacks
- 28 May 2008 at 8:05am
- DotNetNuke Modules - Install DNN into VS 2008 06 June 2008 at 6:06am
- DotNetNuke Modules - Registering Your Module 06 June 2008 at 6:06am
- DotNetNuke Modules - Benefits of Architecture 18 June 2008 at 6:06am
- DotNetNuke Modules - Foundational Concepts
[...] .NET AnswersASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming ...
[...] HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest. ...
[...] Creating Base Modules ...
[...] Creating Base Modules ...

Pingback: DotNetNuke Modules - Install DNN into VS 2008
Pingback: DotNetNuke Modules - Registering Your Module
Pingback: DotNetNuke Modules - Benefits of Architecture
Pingback: DotNetNuke Modules - Foundational Concepts