DNN Forums

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

DNN Integration With ASP.NET MVC

Sort:
You are not authorized to post a reply.





Growing Member





    Hi All,

     

    I am an experienced Asp.Net MVC developer and new to DNN9. Just installed DNN 9.11.0 on my local couple of days before.

    Is it possible to integrate DNN with my ASP.Net MVC project using some Nuget package? As an example I can share some of my thoughts for this Asp.Net MVC project.

    1. This project will have their own login, registration pages, profile and other screens created related to project requirements in ASP.NET MVC and own local data base, nothing to do with  DNN.
    2. I just want to create some static pages in DNN which content writers can create, edit and then render those static pages in my ASP.Net MVC site.

     

    Regards

    Tarunjit Singh






    Veteran Member





      Basically DNN is built on ASP.Net web forms, not on MVC. But there is a possibility to use the MVC pattern in DNN, technically spoken in a server-side MVC control. There are some differences in routing, but it is possible.

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      Growing Member





        Hi,

        In continuation to my last comment. I already have a Asp.NET MVC project running and now i have to inegrate DNN environemnt in it so that content writers can create content pages and we could show these content pages in our existing ASP.NET MVC site.

        Is it possible to integrated DNN 9 version with existing ASP.NET MVC project and fullful above mentioned requirements.If yes please let me know how to go forward with such integration?

        Regards

        Tarunjit Singh

         






        Veteran Member





          TBH, I don't know, as I have not used MVC with DNN yet in any project. But I am sure there are others around here who can help you with this...

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Connect





          Senior Member





            If you have a DNN website instance and an ASP.NET MVC instance, and you wish to have them both working together you really should be looking at three basic options (with hybrids available in between): 

            1. Merge the applications together, most likely porting all of the code/functionality from one to the other.  In most cases, DNN is what you'd move to in this situation since it's maintained by people around the world with constant releases, and it contains a ton of features and protections that you'll never have to build yourself.  
            2. Implement a single sign-on between the two websites.  This way, someone logging into one of the sites could either just seamlessly navigate to the other website and not have to log in, or they can at least use the same login credentials.  
            3. Integrate the features between the two websites.  If there are shared features/functionalities, you can definitely have them share an API to get/send the information and/or a direct data connection.  

            These suggestions are going to be common for most scenarios like this one.  I hope this helps!  






            Growing Member





              Hi,

              Is there any Nuget package available for DotNet Nuke we can deploy in our ASP.NET MVC project with the help of which DotNet nuke could get merged with ASP.Net MVC application.

              Regards
              Tarunjit Singh





              Senior Member





                Posted By Tarunjit on 10/19/2023 4:00 AM
                Hi,

                Is there any Nuget package available for DotNet Nuke we can deploy in our ASP.NET MVC project with the help of which DotNet nuke could get merged with ASP.Net MVC application.

                Regards
                Tarunjit Singh

                They all come up in any Nuget search that exists. 

                https://www.nuget.org/packages?q=dotnetnuke

                 

                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