DNN Forums

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

DotNetNuke-7 Module

You are not authorized to post a reply.

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

      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.
      Chris Hammond Christoc.com Software Solutions
      With DNN since before it was DNN!
      Open Source Projects and Tutorials since 2003

      Advanced Member

        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

          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.

          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          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