DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DotNetNuke-7 Module

 3 Replies
 1 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here

Hello, I am using DotNetNuke version 7.0. I develop DNN modules on my local computer with Visual Studio. After building a module, I upload it to the server by logging in as a master user and installing an extension (I take the install-file, but I also tried the source-file). This all works very well.  Unfortunately I can't see my server-side code on the server after uploading and installing a module. The file is not displayed when I open Visual Studio on the server. Everything that is executed at the client-side is displayed. However, the code behind it is missing on the server. However, the module works perfectly. So the server-side code must be somewhere. But I can't find it.

How do I access the code behind when I'm on the server?

Thank you.

Growing Member
Posts: 55
Growing Member
MVP
MVP
You're an MVP!
Sounds like you are deploying the INSTALL package of the module, NOT the SOURCE package. The INSTALL package is typically compiled into a DLL and that DLL will exist in the website's BIN folder.
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Also, you may run into some issues if you install both the source and install packages since code lives in both source and compiled versions.
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

In most cases, you actually don't want to be able to see your source code on the server. In fact, depending on what you're deploying, you absolutely would never want the source code on the server.

The only exception would be if you're deploying non-compiled extensions, but even in this case, I'd suggest compiling the extensions instead. Regardless, keeping the source code organized will not be easy over time. This very scenario probably accounts for half the clients we've on-boarded over the past 2 years.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved