Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Question about module creation - based on WROX book 2009Question about module creation - based on WROX book 2009
Previous
 
Next
New Post
8/11/2009 8:28 PM
 

I read the book, and while reading, I followed the instructions to create my own module.

The book is fine, but some important part is missing, and I need help on that.

I will list here the steps that I took and I will say where exactly I am stack.

1. Create new project with Starter Kit

2. Put DotNetNuke.dll in the bin folder and add reference in project

3. Create management classes and controls

4. Compile

Oops! I used dnn:Label and dnn:TextEdit controls, and they are not found by application.

What to do here?

5. I commented the code refering to dnn:Label and other dnn controls.

6. Buid

7. Buit ok.

8. Take project folder with its content, except web.config and *cproj, *sln files. And copy it to existing runing DNN web site, to the DesktopModules folder.

9. Build

10. Error! Classes and objects not found!

11. Copy MyModule.dll from StarteKit_Project bin folder, and paste it inside Dnn_Site bin folder, and add reference to the project.

12. Build

13. Built ok.

14. Go to host, import Manifest and execute SQL

15. All is successfull.

16. Test module on site

17. Logic problems, algorithme correction

18. Make corrections.

19. Build

20. Test

21. All is correct now

22. I would like to package module via Host > Module Definitions

23. Confused about MyModule.dll, - is it updated?

24. Go to DNN_Site bin folder, check last modified date of MyModule.dll

25. Oops! After building the project(DNN_Site), MyModule.dll was not updated...

26. If I will package my module right now, - it's working just fine, I have tested it, - will it be updated with the latest patches, that I made to the code, after that I moved the module folder from StarterKitProject to DNN_Site_Project?

 

Please help me.

Thanks in advance.

 

 
New Post
8/13/2009 11:48 AM
 

Ok, a few things.

1.) To resolve the DNN label issue, please see this blog post of mine Adding Design Time Support for DotNetNuke Controls

2.) For module packaging, I personally prefer the manual package process


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/13/2009 12:27 PM
 

Thank you very much for reply!

What do you mean by "manual package process"? Is it to create a folder, put inside all the files and dlls and to zip it?

My main problem here, is to generate, up to date, dll of MyModule itself.

To reformulate the question: How to develop and compile MyModule, what is the best method, using standalone project generated by StarterKit, or to take existing site and generate files inside, using again the StarterKit - this method is described by Michael Washington.

In the final step, I would like to have a standard DNN module that could be installed by anyone via dnnsite/host/.

Thanks again.

 
New Post
8/14/2009 7:57 PM
 

I see here the only one solution.

Test the module once compiled on the DNN test site. When correction are made, put those correction inside the module's project and compile it, to get the updated DLL. When it's done, take this DLL, copy it to the DNN test site, compile and make the module package from host>module definitions.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Question about module creation - based on WROX book 2009Question about module creation - based on WROX book 2009


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out