Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDebugging Store ModuleDebugging Store Module
Previous
 
Next
New Post
7/20/2011 6:11 AM
 
Hi Gille

Could you suggest me the possible ways of debugging store module & DotNetNuke source code.

Thanks,
Raj

 
New Post
7/20/2011 11:15 AM
Accepted Answer 
Hi Raj,

To debug the Store module, please read this post and follow all my advices if you want to save times. Use the last Store version 3 instead 2.x and DNN 4.6.2 instead 4.4.1. You should be able to debug the Store module by pressing the F5 key! :-)
To debug DNN, it depends of your needs. Normally, you should NEVER modify DNN because you could no longer upgrade with future versions! When a security breach is discovered, the Security Team patch them and a new release is published. This is why it's NOT a good idea to modify DNN!
On the other hand, several parts of DNN can be modified without modify the core of DNN because the provider model is used (Caching, Search Engine, HTML Editor and so on). Please look in the web.config file for details.
What you have to understand is than DNN is just a classic ASP.NET application using the DNN API and a DNN module is a classic user control who inherit from PortalModuleBase instead UserControl. If something can be done inside DNN, you can do the same inside your module using the DNN API (DotNetNuke.dll). You can found several books on Amazon (or other) to learn how to develop with DNN. Please ask in this forum for help about DNN development, another source of informations is the Wiki.
Different ways can be used to create a module like: Web Site Project (Text/HTML module), Web Application Project (Store module), Razor (need to install the Razor Host module), SilverLight (look at the Michael Washington website).
For the Store module I use DNN WITH sources because the symbol files was not available for older versions (4.x), this allow you to debug DNN at the same time. If you use a recent DNN version (5.x or 6.x), you can install DNN WITHOUT sources and install the corresponding symbol files available at Codeplex to do the same. Whatever the model you choose, DNN WITH sources is NEVER required!
The Store module use the provider model for Taxes, Shipping, Payment Gateways, ... This allow you to extend the Store module WITHOUT modify the source code AND to upgrade with future versions.

Gilles

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
7/20/2011 11:31 AM
 
Oups, I forgot to include the links for the DNN dev forum and for the Wiki!

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
7/21/2011 11:52 AM
 
Thank you Gilles. Your post is very informative and useful. Will follow your instructions.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDebugging Store ModuleDebugging Store Module


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