Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUpdating old custom modules for DNN 7Updating old custom modules for DNN 7
Previous
 
Next
New Post
12/12/2014 10:45 AM
 

Hello,
I am replacing our old DNN 4 site with a new DNN 7 one. We have quite a few modules we developed in-house for the old site, and I would like to use them on the new site. The old modules were written for DNN 4, in VB.NET 2.0, using Visual Studio 2005. Can anyone recommend useful tutorials that might guide me in the process of updating the old modules to work in DNN 7 and deploying them there? I am re-acquainting myself with DNN development after several years, so I'm sure a lot has changed.

Thanks,
Benjamin

 
New Post
12/12/2014 10:20 PM
 
This is not an impossible task, but it might involve a bit of work.

For tutorials, I'd start with Clint Patterson's blog series in the Community Blog here. It's quite current, and it's aimed at new developers. It will get you reconnected, and may be much of what you need.

Scott Wilkinson has some very good, albeit a bit more advanced, tutorials at DNNHero.com. You'll need a subscription to that site.

Look for some older tutorials from Chris Hammond in the Video Library here. Chris is also the creator of a modern module template that is referred to in the tutorials mentioned above. I think that Chris may have some more recent tutorials, and you should look for his blog. I think all are at chrishammond.com.

As for actually doing the work, converting the modules is going to depend strongly on the way the modules were written originally. The good news is that the basics haven't change, but you may need to do some reworking of the code. If the modules originally were written in an uncompiled structure (WSP), you'll find it a good idea to convert them to compiled modules (WAP), probably using one of the templates.

And, I'd be remiss if I didn't mention Mitchel Sellers' book on DNN module development. While it is several years old, it's still quite appropriate, DAL2 is new since the book was written, but you can pick that up (if you need it) from some of the other tutorials. It's available in physical and Kindle formats.

Beyond that, ask lots of questions.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
12/12/2014 11:32 PM
 
Great, those sound like good starting points. Thanks for the suggestions
 
New Post
12/15/2014 1:55 PM
 

I still have some modules that were developed for the 5 version that still run today. You will likely run into depreciated methods but the old structure (controller/info class/data layer) should still work. However, you would be wise to look at the "new way" of module development: webapi, angularjs, DAL2 etc to guard yourself for the next major version and beyond. 

Good luck!

 
New Post
12/15/2014 7:01 PM
 
Depending on how your modules were actually coded in the first place - and what parts of the dnn api they used - you may find that they still work out of the box.
Load them up and see what breaks is likely the first approach.
What you may find is the some of the api's have been deprecated - but will for the most part still function.
You would however be best placed to work thru each of the calls toe deprecated api's and update them to the correct current calls as come dnn 7.5 a great number of deprecated api functions will start to be removed from the system in preparation for dnn (8) vNext or what ever it eventually gets called.

Westa
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUpdating old custom modules for DNN 7Updating old custom modules for DNN 7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out