Obtaining up and operating with all the templates is really pretty straightforward, but you must stick to some really certain measures, not subsequent the measures tends to make it hard for anyone else in order to assist you as you can configure issues any number of ways that might cause difficulties.

 


Configuring your Development Atmosphere

This really is 1 from the most significant steps from the procedure, the templates are configured to operate in a site You'll find a couple of assets for placing up your environment. The crucial thing for your new release of the templates is you need to have DotNetNuke 7.3 operating at dnndev.me, unless of course needless to say you modify the templates your self, but that's outside of the scope of this weblog post.

Putting in the Templates

Installation in the templates is pretty simple, you'll find numerous techniques to complete this, select one in the a few choices beneath and carry out the actions outlined for the option you decide on. You simply have to do one of those choices, not all three.

  1. Put in utilizing the Tools\Extensions and Updates menu in Visible Studio 2012
    • Mouse more than the Tool menu
    • Click on Extensions and Updates
    • Search for DotNetNuke
    • Select the Put in button to the DotNetNuke Project Templates option
  2. Install manually by downloading the VSIX file from the online gallery
    • Pay a visit to the Visual Studio Gallery - DotNetNuke Project Templates page
    • Download the VSIX file via the Obtain website link.
    • Double click the downloaded file to install the templates.
  3. Set up manually by downloading from Codeplex
    • Down load the VSIX file from Codeplex
    • Updated - Right Click the downloaded VSIX and choose Properties
    • Click the UNBLOCK button before proceeding
    • Double click the downloaded file to install the templates.

Making your Visual Studio Project

As soon as you have put in the templates, you can set up a project based on the templates. To do so you need to stick to the steps under

  1. Set up Visual Studio 2012 (you need to have this done presently)
  2. Install the undertaking templates as instructed above
  3. Setup your DotNetNuke Advancement Environment as instructed over
  4. Operate Visual Studio 2012 as an Administrator (correct click on the shortcut to do so)
  5. File -> New Project
  6. Choose possibly C# or VB.Net from your Languages segment of the new Project dialog
  7. Pick the DotNetNuke Folder under your preferred language (C# or Visual Basic)
  8. Choose possibly DotNetNuke C# Compiled Module, DotNetNuke VB.Net Compiled Module, DotNetNuke 7 C# DAL2 Compiled Module or DotNetNuke 7 VB.Net DAL2 Compiled Module for the project template.
  9. For the new project creation screen using the following settings
    • Title: ModuleName (something distinctive here, instance MyModule)
    • Place: c:\websites\dnndev.me\desktopmodules\ (this assumes you set up your improvement surroundings as instructed in Step 3)
    • Solution: Create new solution (this option might not be exhibited, that's okay)
    • Create directory for solution : Unchecked (this may trigger route issues if checked, the templates presume the SLN is inside the same folder since the project file)
    • Add to source control: Unchecked (I typically get my undertaking operating before incorporating it to supply control)
  10. Click Ok
  11. In certain cases Visual Studio will change the DesktopModules folder in into a Digital Listing, this will cause problems with your DNNDEV.me environment, load IIS Supervisor (start>run>INETMGR) and take away the Virtual Directory if it appears as a single there.

Installing your Module in Improvement

Once you create your project in Visual Studio 2012 the module will exist within the c:\websites\dnndev.me\desktopmodules\MyModule folder, but it is not technically installed and registered with DotNetNuke. To complete that you need to execute the follow steps.

  1. Develop your Project in DEBUG mode.
  2. Modify to Release mode and build again.
  3. Login to your improvement website within a browser, using a HOST/SuperUser account.
  4. Navigate for the Host/Extensions web page
  5. Pick the Install Extension Wizard option
  6. Simply click Choose File
  7. Browse to your c:\websites\dnndev.me\desktopmodules\MyModule\Install\ choose either the INSTALL or SOURCE package to upload.
  8. Go through the measures for the installation wizard (if the module fails to install, attempt closing Visual Studio very first, then set up the module)
  9. Location your module on a page (I usually produce a fresh webpage for each module in my development environment for tests reasons).

 

Setting up your Module in Production

To install your module in production you'll keep to the same actions as installing it inside your improvement environment, other than you will nearly Never utilize the Source package of the module in creation, it just is not essential.

What’s Subsequent?

So I lastly received the 7.0 (7.3) templates out the door, what is subsequent? Reworking the DNNTaskManager module which i created a module advancement tutorial for back in 2011. The program is to actually rewrite that module from the ground up utilizing DNN seven.0, in a few distinct iterations. 1) Utilizing the unique DAL design in DotNetNuke, 2) Using the new DAL2 template, 3) Utilizing ContentItems in DotNetNuke 7. Keep tuned to my weblogs to learn more as those tutorials are produced.