DNN Forums

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

DNN 9 & DNN 10?

 12 Replies
 1 Subscribed to this topic
 37 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
New Around Here
Posts: 1
New Around Here

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!

Senior Member
Posts: 1325
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

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
 

 

Veteran Member
Posts: 352
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
You will see .Net Framework code, .Net Standard code and .NetCore code in the repository.

Everything runtime is .Net framework except in some places that use .Net Standard like for dependency injection and abstractions, potentially also in the future some areas that do not need System.Web or HttpContext, etc.

The few places where you will see .Net Core code is built-time only (we use cake and some plugins, etc.) But this does not get into the runtime and 3rd party extesions still need to target .Net Framework.
Veteran Member
Posts: 360
Veteran Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
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!

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:

  • Web Forms
  • MVC
  • SPA (HTML + Web API)

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!

 

David Poindexter


Creator:


Veteran Member
Posts: 360
Veteran Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
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

David Poindexter


Creator:


New Around Here
Posts: 1
New Around Here

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.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
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.  

 

New Around Here
Posts: 1
New Around Here
Is it possible to install DNN in a container as docker?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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.  

New Around Here
Posts: 2
New Around Here

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.

Page 1 of 212 > >>

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