Saturday, July 31, 2010
  Search
 
Register
Login
 
Getting Aquainted with the DNN Classes
 So, you've decided to start checking out DotNetNuke development and you're wondering where to start, right? Well, it's easy to start taking a quick tour of the DotNetNuke classes now with the help o...

Find this article and more in the category

Read This Article . . .

Installation from the DotNetNuke Install Package 4.90 to Windows XP Professional
OK, so you made the leap and downloaded an installation package of DotNetNuke 4.x.   But now what do I do?  Well, here's a step-by-step instruction guide to get you up and running with DotNetNuke 4....

Find this article and more in the Localhost category

Read This Article . . .

Installing DotNetNuke on the root of GoDaddy - 8 Simple Steps
If you have are having a hard time getting DotNetNuke installed on the root of your hosting account, read this article to find out how. This article was originally written for a the specific purpose ...

Find this article and more in the Hosting Provider category

Read This Article . . .

Installing Active Directory Authentication Package on DotNetNuke
DotNetNuke has abstracted the authentication providers away from the core giving site owners the ability to add new authentication systems. You can see in the picture below that by default, the DotNe...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the DotNetNuke category

Read This Article . . .

I Need to Modify the What to Install DNN? What in the World is a Web.Config File Anyway??
 If you're wondering what in the world a web.config file is, then wonder know more. . .in about 5 minutes, you'll know more than you do now and be well on your way to moving forward.

Find this article and more in the Web.Config category

Read This Article . . .

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x
If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package availabl...

Find this article and more in the category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

Converting a CSS Template To a DotNetNuke Skin
Creating DotNetNuke Skins can be a time consuming task. But, it's really not that hard and it doesn't have to be if you can use templates to help get started. Why not convert some free templates from...

Find this article and more in the category

Read This Article . . .

Using DNN to take Advantage of GoDaddy Domain Names
Let's face it, GoDaddy is cheap. Pay for the hosting services and the domain names are $1.99, not a bad deal. And even without hosting services, you can pick up domain names for as low as $6.99. Put ...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Getting Started with Code Endeavors Ajax Compiled Module Template

12/12/2008 3:47:28 AM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

Gather Required Materials

First thing to do is download the compiled module template as well as the MS Community Build Tasks

CodeEndeavorsDNNAjaxModuleTemplatesCodePLexSTEP 1: Download the  Code Endeavors DotNetNuke Ajax Module Templates for C# and VB.NET from CodePlex

 

 

 

 

MSBuildCommunityTasksProject STEP 2: Download the MSBuild Community Tasks MSI installer or source code from Tigris.org

 

 

 

 

DotNetNukeWebsite

STEP 3: Install and Open a DotNetNuke Source Package. Must be DotNetNuke 5.0 Beta 2 or greater.

 

 

Begin Project Development

image

Right click on the Solution, Go to Add and New Project

If you do it from within the DotNetNuke website, you do not get the same template options. If you have installed the DotNetNuke StarterKit package, you’ll notice that you only have options for dynamic and simple modules when you add from within the website. At the solution level, you will have access to the compiled module template as well. If you are unfamiliar with the packages, basically the Starter Kit is an add in for Visual Studio that will install templates for you for DNN Portal, Skin and Module Development. If you need more information on installing the Source Code package, read How to Install DotNetNuke 5.0 Cambrian and Video.

 

 

 

 

 

Select DotNetNuke Compiled Ajax Module. Name the project and also select the framework that you want to work with in the top right corner.

image

 

 

 

 

 

 

 

 

 

 

 

 

Next, fill in the intro screen. From here you can set up your company information and the namespace you want to use during your development. The location you give to the DotNetNuke directory will be used to automatically pull in the references that are required for the project as well as configuring the automated deployment processes. The namespace you specify will be used to set up you project properties and will be used on server and client side code files. The remainder of the files will be used on the new DotNetNuke 5.0 manifest files and will be shown to users as they install new “extensions”. To see more about this, visit the article, DotNetNuke 5.0 Cambrian Package Writer for Module Developers

image

 

 

 

 

 

 

 

 

 

 

On the following screen after filling out your personal information, you will be presented some security options about how Visual Studio should open the template project. This screen lets you know that a custom MS Build task is running. If you don’t see this screen, then you need to verify your MS Build Tasks installation. In order to use the custom build tasks, you need to select “Load project normally”.

 

 

image

 

Now the module should be installed and you should see the Code Endeavors welcome screen along with the project in your Solution Explorer. The welcome screen will tell you about a few things that you will need to do prior to going any further. There are some limitations that Visual Studio imposes which requires some work on our part, just the same as creating a DotNetNuke module from a template.

image

Here are some things that you should take the time to look at, review and get familiar with:

  1. Right click on the project file and go to Properties. Remove the Root Namespace and make sure the assembly is named as you desireimageimage
  2. Verify the DNNModule.targets file has the correct DotNetNuke deployment path. CodeEndeavorsDNNModule.TargetsFile

The welcome page also states this about the DNNModule.targets file that you may want to check:

  • Open your DNNModule.targets file.
  • Locate the line and place your dotnetnuke folder location in between (L:\Users\btarrance\My Documents\Visual Studio 2008\Projects\DNN5\DNN5RC2Source\Website)
  • Optionally set the deployment of the pdb file with the 1 setting. 
  • Close and re-open your project. Your changes to the MSBuild script will not take affect until you do so!
  • After compiling your module, the installation file will be copied to your dotnetnuke site ready to invoke installation.

 

Once you have verified everything you need to, you need to build the project. Building the project will automatically deploy the module package to your DotNetNuke installation. You will notice in your physical file directory  a folder called, "lib”. This is where the references are for the minimum version you are trying to develop against. Additionally, you will notice a “deploy” folder that contains module packages that have been created for you. You will find an install version as well as a source version.

Navigate to your website and use the URL method to install resource: http:/www.howtodotnetnuke.com/install/install.aspx?mode=installresources

On my first attempt, I received an error during installation.

CodeEndeavorsError

However, I was able to find out what the issue was by logging into my site and trying to install using the traditional method. Remember, with DotNetNuke Cambrian, the Module Definitions page has now become Extensions. Installing with this method will help you track down the errors. In my case, the compiled .dll from my project was having a hard time copying from a temp directory to the DNN website bin directory. I just copied the .dll into the website bin directory and modified the .dnn manifest in the project. Rezipped it up and installed just fine.

powered by metaPost
 

Related Articles
Quick Check for Troubleshooting the CodeEndeavor Ajax Templates

 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use