Hello!
It has been about a decade since I made several DNN components for a client. At my new job we have two DNN projects being implemented, and I am researching the platform and modules so I can make some custom functionality.
Am I correct that DNN 9.x is still using dotnet framework classic 4.8, and the upcoming 10.x versions at https://github.com/dnnsoftware/Dnn.Platform are using dotnet core (.net 6+) ?
I need to make some new modules, can I use modern dotnet to make them? Are there templates? Is the DNN Platform stable and prod ready? Are there tutorials for it?
A lot of DNN videos on youtube are 15 or 8 years old, and much of the DNN documentation is (c) 2017. What frontend is being used nowadays for a component/module? Blazor? (MVC is old but still useful, just want to get the job done in a way that can be supported in 5 years) Any good documentation?
Thank you very much!
No DNN 10 will not be .NET Core or Silverlight eh, sorry Blazor.. ;-)
See: https://dnncommunity.org/...hnical-Future-of-DNN
Please read that blog post and the previous one before you start "DNN should be on .NET Core". ;-).
Documentation: https://docs.dnncommunity.org/
Video's: https://dnncommunity.org/Resources/Videos
Posted By Andy Hubbard on 5/29/2024 10:26 PM ... I need to make some new modules, can I use modern dotnet to make them? Are there templates? Is the DNN Platform stable and prod ready? Are there tutorials for it? A lot of DNN videos on youtube are 15 or 8 years old, and much of the DNN documentation is (c) 2017. What frontend is being used nowadays for a component/module? Blazor? (MVC is old but still useful, just want to get the job done in a way that can be supported in 5 years) Any good documentation? Thank you very much!
... I need to make some new modules, can I use modern dotnet to make them? Are there templates? Is the DNN Platform stable and prod ready? Are there tutorials for it?
Since others have addressed the .NET Framework vs .NET Core questions, I wanted to take a few moments to answer your other questions. For module development, there are three primary patterns supported in DNN:
That said, you you can get quite creative with solutions like using one of the above for your UI/UX and use microservices for the backend and/or database. (e.g., SPA module in DNN + .NET Core solution in Azure).
There are many sample projects out there. Some are more complex than others, but for the basics the following serve the majority of purposes:
For module templates, my "go to" is https://github.com/valada...raware_Dnn_Templates and it is also published on the Visual Studio Marketplace here: https://marketplace.visua...raware-dnn-templates
Out of the box, it uses Stencil for authoring web components, EntityFramework for DB access, Web API for backend interaction, Swagger for API documentation, Nuke for build automation, DocFX for documentation, XUnit for unit/integration tests, etc.
You may also find DNN Elements quite useful in your module development efforts. It is an entire design system of pure web components that can be used in any framework (or no framework). It is located here: https://github.com/DNNCommunity/dnn-elements
Current documentation can be found here: https://docs.dnncommunity.org/ This includes API documentation here: https://docs.dnncommunity.org/api/
There are many people creating video content that is much more current than referenced above. Here are just a few:
I hope you find this helpful and good luck!
Thank you all for the quick and helpful responses! I saw "dotnet 8" in the repos and figured the base code was changing, although I understand why not as that's a lot of technical debt to handle when it's working just fine and supported for at least the next 7 years (and probably longer, knowing microsoft).
I am diving into the documentation and templates for creating modules, thanks for pointing me to the modern resources.
Posted By David Poindexter on 5/30/2024 9:22 AM I decided to turn my response above into a blog post to help the broader community. It is here: https://dnncommunity.org/...N-A-Beginner-s-Guide
That's awesome! 👆🏽
Hello Andy, and welcome back to the community! 🙌🏽
We also actively maintain an alternative DNN development toolset called UpendoDNN Generator.
I've seen it done in a demo at one of the conferences before, but I don't have the steps to point you to for making it happen in your own environment.
Hello. Did you manage to isntall DNN as Docker container? Im also researching on how to do that, and still no luck in doing that. Thanks.
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:
Awesome! Simply post in the forums using the link below and we'll get you started.