DNN Forums

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

Module development setup for MVC, SPA and WebForms with debugging clinet and server side

Sort:
You are not authorized to post a reply.





New Around Here





    I am trying to understand how to properly setup the sample projects to transparently work on my local dnndev.me site.
    https://github.com/dnnsof...Platform.Samples.Mvc

    I would like to debug both client side and server side code from Visual Studio 2017.

    Basically I downloaded sample github repository to: E:\Sites\DNN\Git\Dnn.Platform.Samples.Mvc folder.

    All projects in the solutions:
    Dnn.ContactList.Api\Dnn.ContactList.Api.csproj
    Dnn.ContactList.Mvc\Dnn.ContactList.Mvc.csproj
    Dnn.ContactList.Spa

    are set to build to: bin\Debug\ in debug mode.


    I installed dnn instance into E:\Sites\DNN\dnndev.me\ folder.

    My question is can I develop a module with muliple projects outside of dnn installation.
    If yes how can I use mklink (symlink)? What folders and files I should map between my module development folder and dnn installation?
    What are other ways to link outputs from my dev folders to dnn installation folder(s)?
    I know I can see Output path of the project to ..\..\..\..\bin\  (but for an mvc based module that is however below dnn installation, 
    but can I do it for paths outside of dnn installation?
    What about other resource files?

    Also I have a problem properly setting Project Location and Override application root URL.

    I used to set it this way (I think in earlier versions of dnn) 
    Project URL:
    http://dnndev.me/desktopmodules/mywebformmodule
    Override app root URL:
    http://dnndev.me


    I also want to prepare for SPA module development using this template:
    https://github.com/OPSI-s...-SPA-and-Angular-6-7

    Any recommended setup for developing with the latest dnn 9.x?

    Thanks
    Rad


     






    Growing Member





      I would start by using my templates, not the non-maintained buggy DNN ones...

      Setting up your development environment: http://christoc.com/Tutor.../All-Tutorials/aid/1

      Installing the templates (2019 is the latest version, you can get older ones from GitHub for 2017 support) http://christoc.com/Tutor.../All-Tutorials/aid/2 (https://github.com/chrishammond/dnntemplates)

      Here are a number of other tutorials
      http://christoc.com/Tutorials/DNN9-Tutorials
      Chris Hammond Christoc.com Software Solutions
      With DNN since before it was DNN!
      Open Source Projects and Tutorials since 2003
      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