Software Requirement
- Visual Studio 2012 Express
- SQL Server Express
- DotNetNuke Module Template for 2012 ( DNNTemplates )
Setup
- Install Visual Studio Express if you haven't already done it.
- Install SQL Server Express if you haven't already done it.
- Install DNNTemplates.
Steps To Create a Custom Module
- Open Visual Studio 2012.
Go to File, New, then Project,
- Select Appropriate Module Template form installed template. Specify Appropriate Module name and Folder location.

- Click the OK button. It starts creating the project and at the end, it shows the following error message.

- To resolve this error, we need to make changes in the solution file of the created module.
Click TestingModule.csproj file in Visual Studio. - Make the following changes in the TestingModule.csproj file.
<IISUrl>http://localhost/DNN/desktopmodules/TestingModule</IISUrl> <IISAppRootUrl>http://localhost/DNN/</IISAppRootUrl><ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{31-65df-11da-9384-00065123321}"> <WebProjectProperties> <UseIIS>True</UseIIS> <AutoAssignPort>False</AutoAssignPort> <DevelopmentServerPort>0</DevelopmentServerPort> <DevelopmentServerVPath> </DevelopmentServerVPath> <IISUrl>http://localhost/DNN/desktopmodules/TestingModule</IISUrl> <OverrideIISAppRootUrl>True</OverrideIISAppRootUrl> <IISAppRootUrl>http://localhost/DNN/</IISAppRootUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerUrl> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> </WebProjectProperties> </FlavorProperties> </VisualStudio> </ProjectExtensions> - Open a separate instance of a custom module project in a separate visual studio, so that we make coding changes.

- Steps to build a complete DotNetNuke project along with a custom module.
- Build TestingModule Project.
- Rebuild the Main Solution of the DotNetNuke Project.
- Run the solution in VS 2012.
- Login into the DotNetNuke application.

- Sign in to DotNetNuke.










Santhakumar MunuswamyPosted Nov 21, 2015, 9:30 AM
Good One
Banketeshvar NarayanPosted Nov 18, 2015, 4:29 AM
Nice Article..
Gowtham KPosted Nov 16, 2015, 1:55 AM
Good One,Thanks for sharing
Harshad PansuriyaPosted Nov 16, 2015, 1:27 AM
Nice one
Ankit BansalPosted Nov 16, 2015, 1:14 AM
Nice...thanks for sharing
Rupali ShindePosted Nov 15, 2015, 12:50 AM
thanks
Rupesh KahanePosted Nov 14, 2015, 11:11 PM
Good one..
Raja TPosted Nov 14, 2015, 12:30 PM
Good, Thanks for sharing